This commit is contained in:
2022-05-13 21:38:50 +02:00
parent 517196949c
commit 863c0f8697

13
autori.py Normal file
View File

@@ -0,0 +1,13 @@
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)