Problem:
 Score : 200 points    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 .        Sample Input 1 10      Sample Output 1 Yes  10 can be represented as, for example, 2 \times 5 .       Sample Input 2 50      Sample Output 2 No  50 cannot be represented as the product of two integers between 1 and 9 .       Sample Input 3 81      Sample Output 3 Yes

Solution (Python):
N = int(input())
A = []
for i in range(1,10):
    for j in range(1,10):
        A.append(i*j)
if(N in A):
    print("Yes")
else:
    print("No")

Solution (Python):
n = int(input())
li = []
for i in range(1,10):
    for j in range(1,10):
        li.append(i*j)

if n in li:
    print('Yes')
else:
    print('No')

Solution (Python):
N=int(input())

for i in range(1,10):
	for j in range(1,10):
		if i*j==N:
			print("Yes")
			exit()
		
print("No")

Solution (Python):
N=int(input())
for i in range(1,10):
  if N%i==0 and N/i<=9:
    print("Yes")
    break
else:
  print("No")

Solution (Python):
n = int(input())

for i in range(1,10):
    for j in range(1,10):
        if n == i*j:
            print('Yes')
            exit()
print('No')

Solution (Python):
n = int(input())
bool = False
for i in range(1,10):
    for j in range(1,10):
        if i * j == n:
            bool = True
if bool:
    print('Yes')
else:
    print('No')

Solution (Python):

def resolve():
    n = int(input())
    for i in range(1, 10):
        a = n // i
        if n % i == 0 and a < 10:
            print('Yes')
            return
    print('No')

if __name__ == "__main__":
    resolve()

Solution (Python):
N = int(input())
L = [x * y for x in range(1, 10) for y in range(1, 10)]

if L.count(N) != 0:
    print("Yes")
else:
    print("No")

Solution (Python):
N = int(input())

for n in range(1, 10):
    if N % n == 0 and N // n < 10:
        print('Yes')
        break
else:
    print('No')

Solution (Python):
n = int(input())

table = [1, 2, 3, 4, 5, 6, 7, 8, 9]
flag = False

for a in range(1, 10):
  b = n / a
  if(b in table):
    flag = True
    break

print("Yes" if flag else "No")

Solution (Python):
n = int(input())
ans = False
for i in range(1,10):
    if n%i==0 and n//i<10 and n<=81:
        ans=True
        break
print("Yes" if ans==True else "No")

Solution (Python):
n = int(input())
count = 0
for i in range(1,10):
    for j in range(1,10):
        if i*j==n:
            print("Yes")
            count = 1
            break
    if count==1:
        break
        
if count == 0:
    print("No")

Solution (Python):

N = int(input())

result = []

for i in range(1,9+1):
    if N % i == 0 and N // i < 10:
        result.append(i)

import math
if len(result) == 0:
    print('No')

else:
    print('Yes')

Solution (Python):
if __name__ == "__main__":
    N = int(input())
    ans = 'No'

    for i in range(1, 10):
        for j in range(1, 10):
            if i*j == N:
                ans = 'Yes'

    print(ans)

Solution (Python):
num = int(input())

range_num = [1, 2, 3, 4, 5, 6, 7, 8, 9]
for _ in range_num:
    if num / _ in range_num:
        print("Yes")
        break
else:
    print("No")

Solution (Python):
N = int(input())
n = 1
while n * n <= N:
  if N % n == 0 and N // n in range(1, 10):
    print('Yes')
    break
  n += 1
else:
  print('No')

Solution (Python):
'''
問題：
    高橋君は九九を覚えたので、1 以上 9 以下の 2 つの整数の積を計算することができます。

    整数 N が与えられるので、N を 1 以上 9 以下の 2 つの整数の積として表すことができるか判定し、
    できるなら Yes を、できないなら No を出力して下さい。
'''

'''
制約：
    1 ≦ N ≦ 100
    Nは整数である
'''

def abc144b(n: int)-> str:
    for i in range(1, 9 + 1):
        if n % i == 0 and 0 < n // i < 10:
            return 'Yes'
    return 'No'

n = int(input())
print(abc144b(n))

Solution (Python):
N = int(input())
flg = False
for i in range(1,10):
    if N%i==0 and N//i<10:
        flg=True
        break
if flg:
    print("Yes")
else:
    print("No")

Solution (Python):
n=int(input())

l=list((v*h) for h in range(1,10) for v in range(1,10))

if n in l:
    print("Yes")
else:
    print("No")

Solution (Python):
n = int(input())
for i in range(1, 10):
  for j in range(1, 10):
    if n == i * j:
      print("Yes")
      exit()
print("No")

Solution (Python):
n  = int(input())

for i in range(1,10):
    for j in range(1,10):
        if i*j == n:
            print('Yes')
            exit()

print('No')

Solution (Python):


N = int(input())

nums = []
mul = []

for i in range(1, 9 + 1):
    if N % i == 0:
        nums.append(i)
    else:
        pass




for i in nums:
    for j in nums:
        mul.append(i * j)




if N in mul:
    print('Yes')
else:
    print('No')

Solution (Python):
n = int(input())

def binary_search(l, target):
    left = 0
    right = len(l)
    while left<right:
        mid = (left+right)//2

        if target == l[mid]:
            return True
        elif target < l[mid]:
            right = mid
        else:
            left = mid+1

    return False

seki = [i*j for i in range(1, 10) for j in range(1, 10)]
seki.sort()

if binary_search(seki, n):
    print('Yes')
else:
    print('No')

Solution (Python):
def atc_144b(input_value: int) -> str:
    for i in range(1, 9 + 1):
        if input_value % i == 0 and input_value / i <= 9:
            return "Yes"
    return "No"


input_value = int(input())
print(atc_144b(input_value))

Solution (Python):
n = int(input())
for i in range(1,10):
    for j in range(1,10):
        if(i*j==n):
            print("Yes")
            exit()
print("No")

Solution (Python):
n = int(input())
for i in range(1,10):
  for j in range(1,10):
    if i*j == n:
      print("Yes")
      exit()
print("No")

Solution (Python):
N = int(input())
S = []

for i in range(1, 10):
  for j in range(1, 10):
    S.append(i*j)
    
if N in S:
  print("Yes")

else:
  print("No")

Solution (Python):
N = int(input())
for i in range(1, 10):
    for k in range(1, 10):
        if(i*k == N):
            print('Yes')
            exit(0)
print('No')

Solution (Python):
a = int(input())
f = False
for i in range(1,10):
    if a % i == 0 and a/i < 10:
        f = True
        break
if f:
    print("Yes")
else:
    print("No")

Solution (Python):
n = int(input())

for i in range(1,10):
    for j in range(1, 10):
        if i * j == n:
            print("Yes")
            exit()
print("No")

Solution (Python):
import sys

N = int(input())

for i in range(1, 10):
    if N % i == 0:
        if 1 <= N/i <= 9:
            print('Yes')
            sys.exit(0)
        else:
            continue

print('No')

Solution (Python):
def resolve():
    n = int(input())
    ans = 'No'
    for i in range(1,10):
        for j in range(1,10):
            if i*j == n:
                ans = 'Yes'
    print(ans)
resolve()

Solution (Python):
N=int(input())

l=[]
for i in range(1,10):
	for h in range(1,10):
		l.append(i*h)

print("Yes" if N in l else "No")

Solution (Python):
n = int(input())
product_list = list()

for i in range(1, 10):
    for j in range(1, 10):
        product_list.append(i * j)

if n in product_list:
    print('Yes')
else:
    print('No')

Solution (Python):
import sys


n = int(input())

for i in range(1,10):
    for j in range(1,10):
        if i * j == n :
            print('Yes')
            sys.exit()

print('No')

Solution (Python):
n = int(input())

for a in range(1, 10): 
	b = n // a
	if a * b == n and b >= 1 and b < 10:
		print("Yes")
		quit()

print("No")

Solution (Python):
N = int(input())

for i in range(1, 10):
    if N % i == 0 and N // i < 10:
        print("Yes")

        exit()
        
print("No")

Solution (Python):
n = int(input())
if n > 81:
    print("No")
else:
    for i in range(9):
        if n % (i+1) == 0 and 1 <= n/(i+1) <= 9:
            print("Yes")
            exit()
    print("No")

Solution (Python):
n = int(input())
a = 0

for i in range(10):
    for j in range(10):
        a = i*j
        if (a == n):
            print("Yes")
            exit()
print("No")

Solution (Python):
N = int(input())

for x in range(1,10):
    for y in range(1,10):
        if x * y == N:
            print('Yes')
            exit()
print('No')

Solution (Python):
N=int(input())
x="No"
for i in range(1,10):
    if N%i==0 and N/i<10:
       x="Yes"
       break
print(x)

Solution (Python):
n = int(input())
flag = False
for x in (range(1,10)):
    for y in (range(1,10)):
        if x * y == n:
            flag = True
    else:
        continue
    break
    

if flag:
    print("Yes")
else:
    print("No")

Solution (Python):

N = int(input())

for i in range(1, 9+1):
    if N%i == 0 and N//i <= 9:
        print('Yes')
        exit()

print('No')

Solution (Python):
n = int(input())
for i in range(1, 10):
    for j in range(1, 10):
        if i * j == n:
            print('Yes')
            exit()
print('No')

Solution (Python):
kuku = []
for i in range(1,10):
    for j in range(1,10):
        if i * j not in kuku:
            kuku.append(i*j)
n = int(input())
if n in kuku:
    print('Yes')
else:
    print('No')

Solution (Python):
N = int(input())
for i in range(1,10):
    for j in range(1,10):
        if i*j == N:
            print("Yes")
            exit()

print("No")

Solution (Python):
N = int(input())

productos = []

def mult(N):
    for i in range(1,10):
        for n in range(1,10):

            calc = n * i
            productos.append(calc)

    if N in productos:
        print("Yes")
    else:
        print("No")
mult(N)

Solution (Python):
n = int(input())
cnt = 0
for i in range(1, 10):
    for j in range(1, 10):
        if i*j == n:
            print('Yes')
            exit()
else:
    print('No')

Solution (Python):
N = int(input())
if(N > 81):
  print("No")
else:
  state='No'
  for i in range(1,10):
    for j in range(1,10):
      if(i*j == N):
        state='Yes'
        break
      if(i*j > N):
        break
  print(state)

Solution (Python):
n = int(input())
s = 0
if n > 81:
    print("No")
    exit()
for i in range(1 , 10):
    if n % i == 0 and n // i < 10:
        s = "Yes"
    else:
        s = "No"
    if s == "Yes":
        print(s)
        exit()
print(s)

Solution (Python):
n = int(input())

for i in range(1, 10):
    for j in range(1, 10):
        if n == i * j:
            print("Yes")
            exit()

print("No")

Solution (Python):
import sys
readline = sys.stdin.readline
sys.setrecursionlimit(10**8)
mod = 10**9+7

INF = 10**18
eps = 10**-7

kuku=range(1,10)
n=int(input())
d=False
for i in kuku:
  if n%i==0 and n//i<10:
    d=True
if d:
  print("Yes")
else:
  print("No")

Solution (Python):
n=int(input())
ans=0
for i in range(1,10):
    if n%i==0 and n/i<10:
        ans=1
if ans==0:
    print("No")
else:
    print("Yes")

Solution (Python):
N=int(input())
bandera=False
for i in range(10):
  for j in range(10):
    producto=i*j
    if producto==N:
      bandera=True
if bandera==True:
  print("Yes")
else:
  print("No")

Solution (Python):
n = int(input())
for i in range(9, 0, -1):
  if n % i == 0 and n // i <= 9:
    print('Yes')
    exit()
print('No')

Solution (Python):
N=int(input())
resurt=''
for i in range(1,10):
    if N%i ==0 and N//i<=9: 
        result='Yes'
        break
    else:
        result='No'
print(result)

Solution (Python):
li = []
n = int(input())

for i in range(1,10):
    for j in range(1,10):
        li.append(i*j)
        
if n in li:
    print('Yes')
else:print('No')

Solution (Python):
n = int(input())
for i in range(1,10):
  if (n%i==0) and ((n//i) in range(1,10)):
    print("Yes")
    break
else:
  print("No")

Solution (Python):
N = int(input())

for i in range(1,10):
    for j in range(1,10):
        if i*j == N:
            print("Yes")
            exit(0)

print("No")

Solution (Python):
N = int(input())

flag = False
for i in range(1, 10):
  if N//i <= 9 and N%i == 0:
    flag = True
if flag:
  print("Yes")
else:
  print("No")

Solution (Python):
n = int(input())
s = {1}

for i in range(1, 10):
    for k in range(1, 10):
        s.add(i * k)

if n in s:
    print('Yes')
else:
    print('No')

Solution (Python):
N = int(input())


for i in range(10):
    if i==0:
        continue
    else:
        i_pair = N / i
        if N % i == 0 and i_pair < 10:
            print("Yes")
            exit()
            
            
print("No")

Solution (Python):
import sys
N = int(input())
for i in range(1, 10):
  for j in range(1, 10):
    if N == i*j:
      print('Yes')
      sys.exit()
else:
  print('No')

Solution (Python):
ans = 'No'
n = int(input())
for i in range(1,n+1):
    if n%i == 0:
        if max(i,n/i) < 10:
            ans = 'Yes'
print(ans)

Solution (Python):
n = int(input())
for i in range(1, 10):
  if n % i == 0 and n // i in range(1, 10):
    print("Yes")
    exit()
print("No")

Solution (Python):
N = int(input())

count = 0

for i in range(1,10):
    if (N/i).is_integer() == True and N/i < 10 :
        count += 1

if count == 0:
    print("No")
else:
    print("Yes")

Solution (Python):
N = int(input())

for i in range(1, 10):
    if N % i == 0 and N // i <= 9:
        print("Yes")
        break
else:
    print("No")

Solution (Python):
n=int(input())

for i in range(1,10):
    for j in range(i,10):
        if n==i*j:
            print("Yes")
            exit()
print("No")

Solution (Python):
n = int(input())
cnt = 0

for i in range(1, 10):
    if len(str(n//i)) == 1 and n%i == 0:
        cnt +=1

if cnt >= 1:
    print('Yes')
else :
    print('No')

Solution (Python):
N = int(input())

ans = 'No'
for i in range(1, 9+1):
    if N % i == 0 and N // i < 10:
        ans = 'Yes'
        break

print(ans)

Solution (Python):
n = int(input())
ans = 'No'
for i in range(1,10):
    for j in range(i,10):
        if i*j == n:
            ans = 'Yes'
print(ans)

Solution (Python):
N=int(input())
for i in range(1,10):
    for j in range(1,10):
        if i*j==N:
            print("Yes")
            break
    else:
        continue
    break
else:
    print("No")

Solution (Python):
N = int(input())

ans = False

for i in range(1,10):
    if N % i == 0 and N / i <= 9:
        ans = True

if ans:
    print("Yes")
else:
    print("No")

Solution (Python):
N = int(input())
ok = False
for n in range(1, 10):
    if N % n == 0 and 1 <= N // n <= 9:
        ok = True
        break
print('Yes' if ok else 'No')

Solution (Python):
n = int(input())

ok = 0
for i in range(1, 10):
    for j in range(1, 10):
        if i * j == n:
            ok = 1
print("Yes" if ok else "No")

Solution (Python):
n = int(input())
a = 0
for x in range(1, 9 + 1):
    for y in range(1, 9 + 1):
        if x * y == n:
            a = True

if a:
    print('Yes')
else:
    print('No')

Solution (Python):
n = int(input())

for i in range(9,0,-1):
  if n % i == 0:
    work = n / i
    if work < 10:
      print("Yes")
      break
    else:
      print("No")
      break

Solution (Python):
n = int(input())
for i in range(1,10):
    for j in range(1,10):
        if i * j == n:
            print('Yes')
            exit()

print('No')

Solution (Python):
N = int(input())
s = 0

for i in range(1, 10):
    for j in range(1, 10):

        if N == i * j:
            s = 1
if s == 1:
    print("Yes")
else:
    print("No")

Solution (Python):
n=int(input())
l=[x for x in range (1,10)]
ans="No"
for i in range(1,10):
    if n % i == 0 and n//i in l:
        ans="Yes"
print(ans)

Solution (Python):
N = int(input())

multiplication = []
for x in range(1, 10):
    for y in range(1, 10):
        multiplication.append(x*y)

if N in multiplication:
    print( "Yes" )
else:
    print( "No" )

Solution (Python):
n = int(input())

flag = False

for i in range(10):
  for j in range(10):
    ij = i * j
    
    if n == ij:
      flag = True
      
if flag:
  print("Yes")
else:
  print("No")

Solution (Python):
integer = int(input())
for i in range(1, 10):
    for j in range(1, 10):
        if i * j == integer:
            print('Yes')
            exit()
print('No')

Solution (Python):
N = int(input())
for i in range(1, 10):
    if N % i == 0 and 1 <= N / i <= 9:
        print('Yes')
        exit()
print('No')

Solution (Python):
integer = int(input())
for i in range(9):
    for j in range(9):
        if (i + 1) * (j + 1) == integer:
            print('Yes')
            exit()
print('No')

Solution (Python):
print('Yes' if int(input()) in [i * j for i in range(1, 10) for j in range(1, 10)] else 'No')

Solution (Python):
n=int(input())
s=0
for x in range(1,10):
    for y in range(1, 10):
        if x*y==n:
            s=1
if s==1:
    print("Yes")
else:
    print("No")

Solution (Python):
n = int(input())

a = False

for x in  range(1,10):
  for y in range(1,10):
    if x*y == n:
      print("Yes")
      a = True
      break
  if a:
    break

else:
  print("No")

Solution (Python):
n = int(input())
res = "No"
for i in range(1,10):
  for j in range(1,10):
    if i*j == n:
      res = "Yes"
print(res)

Solution (Python):
N = int(input())

ANS = 'No'
for a in range(1, 10):
    for b in range(1, 10):
        if a * b == N:
            ANS = 'Yes'
            break
    if ANS == 'Yes':
        break
print(ANS)

Solution (Python):
n = int(input())
num = [1, 2, 3, 4, 5, 6, 7, 8, 9]
ans = 'No'
for i in range(len(num)):
  for s in range(len(num)):
    if num[i] * num[s] == n:
      ans = 'Yes'
      break
print(ans)

Solution (Python):
n = int(input())

kuku = []
for i in range(1, 10):
    for j in range(1, 10):
        kuku.append(i * j)

if n in kuku:
    print("Yes")
else:
    print("No")

Solution (Python):



n = int(input())

result = 'No'
for i in range(1, 10):
    for j in range(1, 10):
        if i * j == n:
            result = 'Yes'
            break
    if result == 'Yes':
        break

print(result)

Solution (Python):
N = int(input())
c = 1
for i in range(1,10):
    if N%i == 0:
        s = N//i
        if 1 <= s <= 9:
            print('Yes')
            c = 0
            break

if c:
    print('No')

Solution (Python):
N = int(input())
flag = 0
for i in range(1,10):
    if N%i == 0:
        if N/i <= 9:
            flag = 1
            print("Yes")
            break
if flag == 0:
    print("No")

Solution (Python):
N = int(input())
answer = 'No'
for i in range(1, 10):
    if N % i == 0:
        sho = N // i
        if sho < 10:
            answer = 'Yes'
            break
print(answer)

Solution (Python):


import sys
n=int(input())
for i in range(1,10):
    for j in range(1,10):
        if i*j==n:
            print("Yes")
            sys.exit()
print("No")

Solution (Python):
N = int(input())


ans = 'No'
for i in range(1, 10):
  for j in range(1, 10):
    if i*j == N:
      ans = 'Yes'
      break
      
print(ans)

Solution (Python):
N = int(input())

ans = 'No'
for i in range(1, 10):
  for j in range(1, 10):
    if i*j == N:
      ans = 'Yes'
      break
      
print(ans)

Solution (Python):
N = int(input())
num = []
for i in range(1, 9+1):
     for j in range(1, 9+1):
         num.append(i * j)

if N in num:
    print("Yes")
else:
    print("No")

Solution (Python):
n = int(input())
for i in range(1, 10):
    for j in range(1, 10):
        if i*j == n:
            print('Yes')
            exit()
print('No')

Solution (Python):
n=int(input())
ans="No"
for i in range(10):
    for j in range(10):
        if n==i*j:
            ans="Yes"

print(ans)

Solution (Python):
n = int(input())
ans = "No"
for i in range(10):
  for j in range(10):
    if n == i*j:
      ans = "Yes"

print(ans)

Solution (Python):
n = int(input())


for i in range(1,10):
    q = n // i
    r = n % i
    if r == 0 and q < 10:
        print("Yes")
        exit()

print("No")

Solution (Python):
import sys
n=int(input())

for i in range(1,10):
  if n%i==0 and n//i<=9:
    print('Yes')
    sys.exit()

print('No')

Solution (Python):
N = int(input())
flg = 'No'
for i in range(1,10):
  for j in range(1, 10):
    if N == i*j:
      flg = 'Yes'
print(flg)

Solution (Python):
def atc_144b(input_value: int) -> str:
    for i in range(1, 9 + 1):
        if input_value % i == 0 and input_value / i <= 9:
            return "Yes"
    return "No"


input_value = int(input())
print(atc_144b(input_value))

Solution (Python):
N = int(input())
def answer(N: int) -> str:
    x = 0
    for i in range(1, 10):
        for j in range(1, 10):
            if N == i * j:
                x = 1
                return 'Yes'
    if x == 0:
        return 'No'
print(answer(N))

Solution (Python):
def main():
    import sys
    readline = sys.stdin.buffer.readline

    n = int(readline())
    for i in range(1, 10):
        for j in range(i, 10):
            if i*j == n:
                print('Yes')
                exit()
    print('No')

if __name__ == '__main__':
    main()

Solution (Python):
n = int(input())

for x in range(1,10):
    for y in range(1,10):
        if x*y==n:
            print("Yes")
            exit()
    else:
        continue
    break
print("No")

Solution (Python):
lis = []
for i in range(1, 10):
  for j in range(1, 10):
    lis.append(i*j)
N = int(input())
if N in lis:
  print("Yes")
else:
  print("No")

Solution (Python):
n = int(input())
x = 0
for i in range(1, 10):
    if n % i == 0 and n / i < 10:
        x += 1
        break
    else:
        pass
if x == 1:
    print('Yes')
else:
    print('No')

Solution (Python):
N = int(input())

answer = 'No'

for i in range(1, 9 + 1):
    for j in range(1, 9 + 1):
        if N == i * j:
            answer = 'Yes'

print(answer)

Solution (Python):
import sys
N = int(input())
for i in range(1,10):
    for j in range(1,10):
        if N == i*j:
            print('Yes')
            sys.exit()
print('No')

Solution (Python):
n=int(input())
f=0
for i in range(1,10):
    for j in range(i,10):
        if i*j==n:
            f=1
print("Yes" if f else "No")

Solution (Python):
""" a = list(map(int,input().split()))
b = list(map(int,input().split()))
 """

a = int(input())
c =0

for i in range(1,10):
    if a/i  == a//i and a//i<=9:
        c+=1
        break

if c>=1:
    print("Yes")
else:    
    print("No")

Solution (Python):
n = int(input())
for i in range(1,10):
    for j in range(1,10):
        if i * j == n:
            print('Yes')
            exit(0)
print('No')

Solution (Python):
N = int(input())
for i in range(1, 10):
    for j in range(1, 10):
        if N == i * j:
            print("Yes")
            exit()
print("No")

Solution (Python):
num = int(input())
i = 1

while i <= 9:
    j = 1
    while j <= 9:
        if (i * j) / num == 1:
            print("Yes")
            exit()
        else:
            j += 1
    i += 1


print("No")

Solution (Python):
num = int(input())

for i in range(1, 10):
	for j in range(1, 10):
		if (i * j) / num == 1:
			print("Yes")
			exit()

print("No")

Solution (Python):
n=int(input())
s=set()
for i in range(1,10):
  for j in range(1,10):
    p=i*j
    s.add(p)
if n in s:
  print("Yes")
else:
  print("No")

Solution (Python):
N = int(input())

kk_list = []

for a in range(1, 10):
    for b in range(1, 10):
        kk_list.append(a * b)

if N in kk_list:
    print("Yes")
else:
    print("No")

Solution (Python):
N = int(input())

product = []

for i in range(1,10):
    for j in range(1,10):
        product.append(i * j)

if N in product:
    result = 'Yes'
else:
    result = 'No'

print(result)

Solution (Python):
n = int(input())
kk_list = []

for i in range(1,10):
    for j in range(1,10):
        kk_list.append(i * j)

if n in kk_list:
    print("Yes")
else:
    print("No")

Solution (Python):




N = int(input())
num_list = [1, 2, 3, 4, 5, 6, 7, 8, 9]
j = 0

for i in range(1, 9 + 1):
    if (N / i) in num_list:
        j += 1

if j == 0:
    print('No')
else:
    print('Yes')

Solution (Python):
import sys

N = int(input())

for i in range(1,10):
    for j in range(1,10):
        if i*j == N:
            print("Yes")
            sys.exit()

print("No")

Solution (Python):
N = int(input())

jage = "No"
for l in range(1, 10):
    for r in range(1,10):
        if N == r * l:
            jage = "Yes"
print(jage)

Solution (Python):
N = int(input())
kuku = []
for i in range(1, 10):
  for j in range(1, 10):
    kuku.append(i * j)
print("Yes" if N in kuku else "No")

Solution (Python):
N = int(input())

ans = 'No'
for i in range(1,10):
    for j in range(1,10):
        if N == (i * j):
            ans = 'Yes'
            break

print(ans)

Solution (Python):
N = int(input())

ans = 'No'
for i in range(1, 10):
    if N % i == 0 and N / i < 10:
        ans = 'Yes'
        break

print(ans)

Solution (Python):
N = int(input())



for i in range(1, 9+1):
    for j in range(1, 9+1):
        if i * j == N:
            print("Yes")
            exit()
else:
    print("No")

Solution (Python):
n = int(input())

ans = 'No'
for i in range (1, 10):
    for j in range(1, 10):
        if n == i * j :
            ans = 'Yes'
print(ans)

Solution (Python):
N = int(input())
for i in range(1, 10):
    for j in range(1, 10):
        if N == i*j:
            print("Yes")
            exit()
print("No")

Solution (Python):
N = int(input())

if N > 81 or N == 0:
    print("No")
    exit()

for i in range(1, 10):
    for j in range(1, 10):
        if i * j == N:
            print("Yes")
            exit()
print("No")

Solution (Python):

N = int(input())


cnt = 1
judge = ("No")
for cnt in range(1,10,1):
    if N // cnt <10\
    and N % cnt == 0:
        judge = ("Yes")
        break


print(judge)

Solution (Python):
from math import atan, degrees

def is_divisible(a):
	return 'Yes' if any(int(a/x) == a/x and a/x <= 9 for x in range(1,10)) and a <= 81 else 'No'
	
print(is_divisible(int(input())))

Solution (Python):


from typing import *
import collections
import functools
import itertools
import math
import sys

INF = float('inf')
YES = "Yes"  
NO = "No"  


def solve(N: int):
    return [NO, YES][N in [i * j for i in range(1, 10) for j in range(i, 10)]]


def main():

    sys.setrecursionlimit(10 ** 6)

    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    N = int(next(tokens))  
    print(f'{solve(N)}')


if __name__ == '__main__':
    main()

Solution (Python):
N = int(input())

if N > 81:
    print('No')

ans_list = []
if N <= 81:
    for i in range(1,10):
        for j in range(1,10):
            ans_list.append(i * j) 
    if N in ans_list:
        print('Yes')
    if N not in ans_list:
        print('No')

Solution (Python):
n = int(input())
for i in range(1, 10):
    for j in range(1, 10):
        if n == i*j:
            print('Yes')
            exit()
print('No')

Solution (Python):
n=int(input())
ans=0
for i in range(1,10):
  for j in range(1,10):
    if n==i*j:
      ans=1
print('Yes' if ans else 'No')

Solution (Python):
N = int(input())

product = []

for i in range(1,10):
    for j in range(1,10):
        product.append(i * j)

if N in product:
    result = 'Yes'
else:
    result = 'No'
    
print(result)

Solution (Python):
N = int(input())

for i in range(1, 9 + 1, ):
    q, mod = divmod(N, i)
    if q <= 9 and mod == 0:
        print('Yes')
        exit()

print('No')

Solution (Python):

def calc_digit_sum(num):
    sums = 0
    while num > 0:
        sums += num % 10
        num //= 10
    return sums


n = int(input())
for idx1 in range(1, 10):
    for idx2 in range(1, 10):
        if idx1 * idx2 == n:
            print("Yes")
            exit()

print("No")

Solution (Python):
user_input= int(input())
found= False
for counter in range(1, 10):
    for index in range(1, 10):
        if (counter * index)==user_input:
            found= True
            break
if found==True:
    print("Yes")
else:
    print("No")

Solution (Python):
n=int(input())
for i in range(9):
    for j in range(9):
        k = (i+1)*(j+1)
        if n==k:
            print('Yes')
            exit()
        else:
            continue
print('No')

Solution (Python):
import sys
n = int(input())
for a in range(1,10):
    for b in range(1,10):
        if a*b == n:
            print('Yes')
            sys.exit()

print('No')

Solution (Python):
N = int(input())
for i in range(1, 9 + 1):
  if N % i == 0 and N / i <= 9:
    result = "Yes"
    break
  else:
    result = "No"
print(result)

Solution (Python):
n = int(input())

for i in range(1, 10):
  if n % i == 0 and n // i in range(1, 10):
    print("Yes")
    break
else:
  print("No")

Solution (Python):
N = int(input())

for i in range(1, 10):
    if N % i == 0 and N / i <= 9:
        result = 'Yes'
        break
    else:
        result = 'No'

print(result)

Solution (Python):
N = int(input())
for i in range(1,10):
  for j in range(1,10):
    if N == i * j:
      print("Yes")
      exit()
print("No")

Solution (Python):
N = int(input())
a = 'No'
for i in range(1, 9+1):
    for j in range(1, 9+1):
        ans = i * j
        if ans == N:
            a = 'Yes'
            break
print(a)

Solution (Python):
n = int(input())

for i in range(1,10):
	for j in range(1,10):
		if i*j == n:
			print("Yes")
			exit()

print("No")

Solution (Python):
N = int(input())
for i in range(9, 0, -1):
    if N % i == 0:
        if N // i < 10:
            print('Yes')
        else:
            print('No')
        break

Solution (Python):
import sys
n = int(sys.stdin.readline().rstrip("\n"))
l = [False]*101
for a in range(1,10):
    for b in range(1,10):
            l[a*b] = True
if l[n]:
    print('Yes')
else:
    print('No')

Solution (Python):
N=int(input())
Check=False
for i in range(9):
  if N%(i+1)==0 and (N/(i+1))<=9:
    Check=True
if Check==True:
  print('Yes')
else:
  print('No')

Solution (Python):
N = int(input())

for N_l in range(1,10):
    for N_r in range(1,10):
        if N_l * N_r == N:
            print('Yes')
            exit()
print('No')

Solution (Python):
N = int(input())
a = [1, 2, 3, 4, 5, 6, 7, 8, 9]

for x in a:
    if N / x in a:
        print("Yes")
        exit()
print("No")

Solution (Python):
n = int(input())
a = 0
for i in range(1,10):
  for j in range(1,10):
    if(n==i*j):
      a+=1
if(a>=1):
  print("Yes")
else:
  print("No")

Solution (Python):
N=int(input())
count=0

for i in range(1,10):
    for j in range(1,10):
        if N/i==j:
            count+=1
        else:
            count=count

if count==0:
    print("No")
else:
    print("Yes")

Solution (Python):
N=int(input())
count=0
for i in range(1,10):
     if N/i==1:
         count=count+1
     elif N/i==2:
         count=count+1
     elif N/i==3:
         count=count+1
     elif N/i==4:
         count=count+1
     elif N/i==5:
         count=count+1
     elif N/i==6:
         count=count+1
     elif N/i==7:
         count=count+1
     elif N/i==8:
         count=count+1
     elif N/i==9:
         count=count+1
     else:
         count=count
if count==0:
    print("No")
else:
    print("Yes")

Solution (Python):
n = int(input())

for i in range(1, 10):
    if n%i == 0 and n//i < 10:
        print('Yes')
        exit()
print('No')

Solution (Python):
a=int(input())
if a==11 or a==13 or a==17 or a==19 or a==22 or a==23 or a==26 or a==29 or a==31 or a==33 or a==34 or a==37 or a==38 or a==39 or a==41 or a==43 or a==44 or a==46 or a==47 or a==50 or a==51 or a==52 or a==53 or a==55 or a==57 or a==58 or a==59 or a==60 or a==61 or a==62 or a==65 or a==66 or a==67 or a==68 or a==69 or a==70 or a==71 or a==73 or a==74 or a==75 or a==76 or a==77 or a==78 or a==79 or a==80 or a>=82:
  print("No")
else:
  print("Yes")

Solution (Python):
N = int(input())
for i in range(1,9 + 1):
    for j in range(1,9 +1):
        if i * j == N:
            print('Yes')
            exit()
print('No')