Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n=int(input())
- q=sum(map(int,input().split()))
- if q % (n+1) ==0 :
- print(2)
- else:
- if (q % (n+1) == n):
- print(3)
- else:
- print(1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement