Task: Program Execution
Input (English): 579, 3985, 1283, 1217, B, w, 8325, 827, T, 4359, 2021
Output (English): 5, 6, 9