s = input() print(s[:-1] + '4')