s=input() a=s[ :-3 ] b=s[ -3: ] print(s[1:3]) print(a) print(b) print(a+","+b) 222222