#include <bits/stdc++.h>
using namespace std;
void read() {}
char s[100000 + 1 + 9];
int n;
int main() {
  read();
  while (scanf("%s", s) != EOF) {
    n = strlen(s);
    int p = 0;
    while (p < n && s[p] == 'a') p++;
    if (p == n) {
      s[n - 1] = 'z';
      printf("%s\n", s);
      continue;
    }
    int q = p;
    while (q < n && s[q] != 'a') q++;
    q--;
    for (int i = p; i <= q; i++) {
      s[i]--;
    }
    printf("%s\n", s);
  }
}
