Question 1
Input: BRAIN
Step 1: Reverse the word → NIARB
Step 2: Shift each letter +1 (A→B, B→C, ..., Z→A) → OJBSC
Step 3: Rotate left by 2 positions → BSCOJ
Step 4: For even positions (0-indexed), keep letter; for odd positions, replace with position number (A=1, B=2...) → B19C15J
What is the final output?
Multiple transformations applied sequentially: BRAIN → NIARB → OJBSC → BSCOJ → B19C15J