for s in raw_input().split(":"):print s