Task: Program Execution
Input (English): 273, 47, c, 323, h, r, w, 373
Output (English): 2, 3, 4, 7