Task: Program Execution
Input (English): T N 3821 E J 8989 8479 1347 O w 9071 1833 7053 N 7199 3889 7571 2047 A u 9829 7411 t x 5627 o Z
Output (English): 20, 14, 3821, 5, 10, 8989, 8479, 1347, 15, 23, 9071, 1833, 7053, 14, 7199, 3889, 7571, 2047, 1, 21, 9829, 7411, 20, 24, 5627, 15, 26