Task: Program Execution
Input (English): 7845, 8135, S, N, v, G
Output (English): 1, 2