← Back to List

30664번: Loteria Falha ↗

Solutions

Python 3
111 B | 111 chars
while 1:
  a = int(input())
  
  if a == 0:
    break
    
  print("TENTE NOVAMENTE" if a % 42 else "PREMIADO")