Run ID:92614

提交时间:2024-10-05 19:36:24

s=input().split() a=int(s[0]) if a%4==0: print(4) else: print(a%4)