{"trustable":true,"sections":[{"title":"","value":{"format":"MD","content":"### Read problem statements in [Hindi](https://www.codechef.com/download/translated/FEB21/hindi/HDIVISR.pdf), [Bengali](https://www.codechef.com/download/translated/FEB21/bengali/HDIVISR.pdf), [Mandarin Chinese](https://www.codechef.com/download/translated/FEB21/mandarin/HDIVISR.pdf), [Russian](https://www.codechef.com/download/translated/FEB21/russian/HDIVISR.pdf), and [Vietnamese](https://www.codechef.com/download/translated/FEB21/vietnamese/HDIVISR.pdf) as well.\n\nYou are given an integer $N$. Find the largest integer between $1$ and $10$ (inclusive) which divides $N$.\n\n### Input\nThe first and only line of the input contains a single integer $N$. \n\n### Output\nPrint a single line containing one integer ― the largest divisor of $N$ between $1$ and $10$.\n\n### Constraints\n- $2 \\leq N \\leq 1,000$\n\n### Subtasks\n**Subtask #1 (100 points):** original constraints"}},{"title":"Sample 1","value":{"format":"MD","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e91\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e7\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\nThe divisors of $91$ are $1, 7, 13, 91$, out of which only $1$ and $7$ are in the range $[1, 10]$. Therefore, the answer is $\\max(1, 7) \u003d 7$."}},{"title":"Sample 2","value":{"format":"MD","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e24\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e8\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\nThe divisors of $24$ are $1, 2, 3, 4, 6, 8, 12, 24$, out of which $1, 2, 3, 4, 6, 8$ are in the range $[1, 10]$. Therefore, the answer is $\\max(1, 2, 3, 4, 6, 8) \u003d 8$."}}]}