def fun(s):
    return s.split("#")[1]


s = input()
print(fun(s))