Task: Program Execution
Input (English): 1363, A, 2703, 1155, B, 2015, a, V, C, O, 4805, R, 67, J, 6955, 6505, B, p, i, 8729, 7195
Output (English): 11