14 lines
251 B
Python
14 lines
251 B
Python
import sys
|
|
|
|
strin = sys.stdin.readline() # type: str
|
|
|
|
ans = strin[0:1]
|
|
pos = 0
|
|
|
|
while strin.find('-', pos) > 0:
|
|
# sys.stderr.writelines('{}\n'.format(pos))
|
|
pos = strin.find('-', pos) + 1
|
|
ans += strin[pos:pos + 1]
|
|
|
|
print(ans)
|