Task: Program Execution
Input (English): W, D, m, 4023, 5801, 3443, 8869, s, 7845, 7663, 5863, 1301, 975
Output (English): 1, 2, 3, 8