# inputs = gets() inputs = "30 0" n, k = inputs.split(' ').map(&:to_i) range = 2^n base_num = 2^k number_of_times = range / base_num p number_of_times