#include using namespace std; using ll = long long; int main() { string n; cin >> n; cout << (n.size() == 2 ? "Yes" : "No") << endl; return 0; }