#include <bits/stdc++.h>
using namespace std;
string s;
int a[10005], b[10005], n;
int f(char x) {
  if (x == 'b') return 1;
  if (x == 'd') return 2;
  if (x == 'p') return 3;
  if (x == 'q') return 4;
}
int main() {
  cin >> s;
  for (int i = 1; i <= n; i++)
    if (a[i] != b[i]) {
      puts("No");
      return 0;
    }
  puts("Yes");
  return 0;
}
