#include <bits/stdc++.h>
int main() {
  int N, i, q = 0;
  float temp;
  scanf("%d", &N);
  for (i = 1; i <= 9; i++) {
    temp = (N / i);
    if (temp >= 1 && temp <= 9) q++;
  }
  if (q > 0)
    printf("yes");
  else
    printf("no");
  return 0;
}
