Task: Program Execution
Input (English): both, V, n, critical, I, I, his, n, Q
Output (English): bothVncriticalIIhisnQ