text: name = input()
  print('I love', name)
  
  a = int(input())
  b = int(input())
  print(a + b)
  
  a = int(input())
  b = int(input())
  c = int(input())
  d = int(input())
  cost1 = a * 100 + b
  cost2 = c * 100 + d
  totalCost = cost1 + cost2
  print(totalCost // 100, totalCost % 100)
  
  n = int(input())
  print(n % 256)
  
  n = int(input())
  k = int(input())
  print(n // 10**k)