top of page

Examples

Example 1

Input​

Output

Example 2

Output

Input

Example 3

Input

Output

bottom of page