Online Code Editor

Input:

Output:

Click 'Run Code' to execute.