General
 
 
# Author Problem Lang Verdict Time Memory Sent Judged  
82305308 Practice:
jatindscl
705B - 22 PyPy 3 Accepted 311 ms 11312 KB 2020-06-02 15:14:26 2020-06-02 15:14:26
→ Source
n=int(input())
a=input().split()
s=0
for i in range(n) :
    s=s+int(a[i])-1
    print(1 if s%2 else 2)
?
Time: ? ms, memory: ? KB
Verdict: ?
Input
?
Participant's output
?
Jury's answer
?
Checker comment
?
Diagnostics
?
Click to see test details