fork download
  1. n = int(input ())
  2. a = list(map(int, input().split()))
  3. if n==1:
  4. if a[0] == 0:
  5. print("UP")
  6. elif a[0] == 15:
  7. print("DOWN")
  8. else:
  9. print("unknow")
  10. exit(0)
Success #stdin #stdout 0.06s 14196KB
stdin
4
5 6 7 8 
stdout
Standard output is empty