Task: Program Execution
Input (English): 5061 1495 a 8825 2529 n J x m 7385 2015 p 8701 A 2135 T 5677 q D z P 5029 2453 815 G T R i 503 8465 9803 9109 I v 9501 D 6009 T r F
Output (English): 5061, 1495, 1, 8825, 2529, 14, 10, 24, 13, 7385, 2015, 16, 8701, 1, 2135, 20, 5677, 17, 4, 26, 16, 5029, 2453, 815, 7, 20, 18, 9, 503, 8465, 9803, 9109, 9, 22, 9501, 4, 6009, 20, 18, 6