#include using namespace std; using ll=long long; constexpr ll mod=1e9+7; int main() { cin.tie(0); ios_base::sync_with_stdio(false); string n; cin>>n; if (n.size() == 2) cout << "Yes\n"; else cout << "No\n"; }