wrote=list(map(int,input().split())) amount=0 for i in wrote: amount+=i print(55-amount)