N = int(input()) print(N-100-N%100+4)