PY
py
1
2
3
4
5
6
7
8
9
10
s = input()
#print(len(s))
x=0
y=3
while x<len(s):
print(ord(s[x])-65-6*s[x].islower() if s[x].isalpha() else "52",str(y),sep=", ")
if s[x]==" ":
y+=1
x=x+1
#good input=This is a test
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run