← Back to List
14614번: Calculate! ↗
Solutions
Python 3
77 B | 77 chars
a,b,c=map(int,input().split()) if c%2 == 0: print(a) else: print(a^b)