import math A,B,C=map(int,input().split()) if 60*A