import re print(re.findall("#(.*)#",input())[0])