Submission #161481

# Submission time Handle Problem Language Result Execution time Memory
161481 2019-11-02T16:52:47 Z boolodifjenula COCI17_cezar (COCI17_cezar) Python 3
Compilation error
0 ms 0 KB
n=int(input())
S=0
L=[]
K=[4,4,4,4,4,4,4,4,16,4]
for i in range(n):
    L+=[int(input())]
    S+=L[i]
    K[L[i]-2]-=1
m=21-S
if sum(K[:m])=<sum(K[m:]):
    print("DOSTA")
else:
    print("VUCI")
    

Compilation message

File "cezar.py", line 10
    if sum(K[:m])=<sum(K[m:]):
                 ^
SyntaxError: invalid syntax