x=int(input()) cnt=0 for i in range(21): for j in range(34): for k in range(51): if i*5+j*3+k*2==100: cnt+=1 if i*5+j*3+k*2>100: continue print(cnt)