Task: Program Execution
Input (English): n 1041 3979 6255 51 6505 A 1063 q 649 a 2929 q 4873 F 8531 u 3435 9395 h 1479 b H 6779 2565 275 1665 4649
Output (English): 14, 1041, 3979, 6255, 51, 6505, 1, 1063, 17, 649, 1, 2929, 17, 4873, 6, 8531, 21, 3435, 9395, 8, 1479, 2, 8, 6779, 2565, 275, 1665, 4649