#include using namespace std; using ll = long long; #define rep(i,m,n) for(int i=m; i bool chmin(T& a, T b){ if(a > b){a = b; return true;} return false; } template bool chmax(T& a, T b){ if(a < b){a = b; return true;} return false; } int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); string N; cin >> N; cout << (N.size() == 2 ? "Yes" : "No") << endl; return 0; }