n = 31 k = 2 # n and k are given # Write your code here ans = 715827883 Ex().has_output(ans) success_msg("Great job!")