Task: Program Execution
Input (English): d, H, W, v, 9175, O, 1569, B, R, 377, 2719, 6151, K, P, a, 1721, R
Output (English): 5, 7, 10, 11, 12, 16