Task: Program Execution
Input (English): f 2187 N 2515 2359 585 1541 N v 6261 c N 6933 y d 9613 1565 6163 4453 s u d A c 4215 y 1819 1915 4625 B S 9661 1791 B
Output (English): 6, 2187, 14, 2515, 2359, 585, 1541, 14, 22, 6261, 3, 14, 6933, 25, 4, 9613, 1565, 6163, 4453, 19, 21, 4, 1, 3, 4215, 25, 1819, 1915, 4625, 2, 19, 9661, 1791, 2