#include <bits/stdc++.h>
using namespace std;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int a, b;
  cin >> a >> b;
  if (a > 9 || b > 9)
    cout << "No" << endl;
  else
    cout << a * b << endl;
}
