A,B=map(int,input().split()) X=B*3600/1000 if A