Bear And Prime 100

medium
Check the link

Input Format

Check the link

Output Format

Check the link

Constraints

Check the link

Example

Input
1
Output
1
Previous
Manhattan Rectangle
Next
Flamingoes Of Mystery

Related Questions