#include #include #define ll long long int #define vec vector #define mat vector> #define pll pair #define count __builtin_popcountll using namespace std; using namespace atcoder; //using mint = modint1000000007; const ll mod=1000000007;//998244353; const ll inf=1000000000000000000; ll dx4[4]={1,0,-1,0}; ll dy4[4]={0,-1,0,1}; ll dx8[8]={1,0,-1,1,-1,1,0,-1}; ll dy8[8]={1,1,1,0,0,-1,-1,-1}; int main(){ cout << fixed << setprecision(15); ll m; cin >> m; string s=to_string(m); if(s.size()==2)cout << "Yes" << endl; else cout << "No" << endl; return 0; }