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.03s 9568KB
stdin
abc
stdout
3
97
98
99