print([0,0,2,5,4,15,14,25,24,35,34][int(input())])