a=int(input()) hour=a//100 minute=(a-hour*100)*3//5 if 0