r = int(input())
if r < 1200:
    print(1200)
elif r < 1400:
    print(1400)
elif r < 1600:
    print(1600)
elif r < 1900:
    print(1900)
elif r < 2100:
    print(2100)
elif r < 2300:
    print(2300)
elif r < 2400:
    print(2400)
elif r < 2600:
    print(2600)
else:
    print(3000)
