Task: Program Execution
Input (English): 4621 N k 6089 6265 h F 7715 6971 153 N 9287 N p P 787 4905 4057 5005 K k o 9913 9103 9883 N L
Output (English): 4621, 14, 11, 6089, 6265, 8, 6, 7715, 6971, 153, 14, 9287, 14, 16, 16, 787, 4905, 4057, 5005, 11, 11, 15, 9913, 9103, 9883, 14, 12