fork download
  1. import sys
  2. input = sys.stdin.readline
  3. #input = lambda: sys.stdin.readline().rstrip()
  4. s = input()
  5. print(len(s))
  6. for x in s:
  7. print(ord(x))
Success #stdin #stdout 0.04s 9568KB
stdin
abc
stdout
4
97
98
99
10