AtCoder Beginner Contest 144
B
81
AtCoder
⌀ 0
原题
← AC →
翻译中…

Problem Statement

翻译中…

Having learned the multiplication table, Takahashi can multiply two integers between $1$ and $9$ (inclusive) together.

翻译中…

Given an integer $N$, determine whether $N$ can be represented as the product of two integers between $1$ and $9$. If it can, print Yes; if it cannot, print No.

翻译中…

Constraints

翻译中…
  • $1 \leq N \leq 100$
  • $N$ is an integer.
翻译中…

Input

翻译中…

Input is given from Standard Input in the following format:

翻译中…

N

翻译中…

Output

翻译中…

If $N$ can be represented as the product of two integers between $1$ and $9$ (inclusive), print Yes; if it cannot, print No.

翻译中…

样例

Input #1
10
Output #1
Yes
$10$ can be represented as, for example, $2 \times 5$.
Input #2
50
Output #2
No
$50$ cannot be represented as the product of two integers between $1$ and $9$.
Input #3
81
Output #3
Yes
题目信息
题号
abc144_b
时间限制
2 s
内存限制
1024 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。