#include #define all(v) v.begin(), v.end() #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define con_input(v) for(auto it=v.begin();it!=v.end();it++){cin>>*it;} #define con_debug(v) for(auto it=v.begin();it!=v.end();it++){cerr<<*it<<" ";}cerr<T digitsum(T n); template T gcd(T u,T v); template bool isPrime(T n); template vector> prime_factor(T n); long long int intpow(long long int,long long int); template T intlog(T); int main(){ char s[100]; int ans=1,a=0; while(scanf("%s",&s)!=EOF){ if(s[1]!='\0'){ ans=0; break; } } cout<<(ans?"Yes":"No")<