diff --git a/autori.py b/autori.py new file mode 100644 index 0000000..8455468 --- /dev/null +++ b/autori.py @@ -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)