number = int(input())

calculation = 100 <= number <= 200 or number == 0
if not calculation:
   print("invalid")

number = int(input())

calculation = 100 <= number <= 200 or number == 0
if not calculation:
   print("invalid")
