Task: Program Execution
Input (English): 795, U, 2983, B, L, 3363, 1705, 5853, W, J, 4829, 5757, w, 3347
Output (English): 2, 4, 5, 9, 10, 13