← Back to List
17520번: Balanced String ↗
Solutions
Python 3
46 B | 46 chars
n =int(input()) print(2**((n+1)//2)% 16769023)