Task: Program Execution
Input (English): 3793, 6243, 4617, 1765, G
Output (English): 4