// code by lynmisakura. wish to be accepted!
#include<bits/stdc++.h>
using namespace std;

#define REP(i,N) for(int i = 0;i < N;i++)
using ll = long long;

int main(void){
  cin.tie(0);
  ios::sync_with_stdio(false);
  cout << fixed << setprecision(15);
  
  int N;cin >> N;
  if(N >= 10 and N <= 99) cout << "Yes" << '\n';
  else cout << "No" << '\n';


}