'''****** Задание ******** *Сдача. ''' has = int(input()) need = int(38 * 2.5) answer = has - need print(answer)