import sys

 def gameReward(l, m, n) :
  money = 0
  

N = int(sys.stdin.readline())
money_list = []

for i in range(N):
  a, b, c = map(int, sys.stdin.readline().split())
  money_list.append(gameReward)