#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  getline(cin, s);
  string fullShift = s;
  for (int i = 0; i < fullShift.length(); i++) {
    char c = fullShift[i];
    fullShift[i] = (c == 'a') ? 'z' : c - 1;
  }
  bool started = false;
  for (int i = 0; i < fullShift.length(); i++) {
    if (started) {
      if (fullShift[i] <= s[i])
        s[i] = fullShift[i];
      else
        break;
    } else if (fullShift[i] < s[i]) {
      started = true;
      s[i] = fullShift[i];
    }
  }
  if (!started) s[s.length() - 1] = fullShift[fullShift.length() - 1];
  cout << s << endl;
}
