************************************************************
1. Python
--------------------- stdin at line 1 ----------------------
A
-------------------- output from line 5 --------------------
1 A


************************************************************
2. Python
--------------------- stdin at line 1 ----------------------
A
-------------------- output from line 8 --------------------
3 A


************************************************************