import sequtils,strutils var L = stdin.readline.parseInt N = stdin.readline.parseInt L -= 3 for i in 1..L: N *= 2 echo N