Task: Program Execution
Input (English): n, 1577, 6251, l, 5705, h, 3769, f, 411, 3911, 8007, H, c, 8531, T, 9271
Output (English): 47433