Problem
Write a program to solve a specific logical puzzle or data manipulation task, such as array manipulation or string processing, on a whiteboard or shared editor.
You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.


