Input

Script

Output

Click to run