'''
# 101.
a = "안녕하세요"
print(a * 2)


# 102.
a = int(input("숫자를 입력해주세요: "))
print(a + 10)


# 103.
a = int(input("숫자를 입력해주세요 : "))
if a % 2 == 0:
    print("짝수")
else:
    print("홀수")
'''

# 104.
a = int(input("숫자를 입력해주세요 : "))
b = a + 20

if b > 255:
    print(255)
else:
    print(b)
