import sys f=raw_input() print sys.stdin.read().replace("_","%s")%tuple(f)