Task: Program Execution
Input (English): T, U, D, 3139, u, w, Z
Output (English): 3139