#include using namespace std; int main() { char c1,c2; cin>>c1>>c2; if(c1-1==c2||c1+1==c2){ cout<<"Yes"<