Task: Program Execution
Input (English): dear
Y
Sphynx9s
X
tempest;
m
g
his
B
final
G
Output (English): dearYSphynx9sXtempest;mghisBfinalG