#include <bits/stdc++.h>
using namespace std;
string Ask(string t) {
  cout << "? " << t << endl;
  fflush(stdout);
  cin >> t;
  return t;
}
void Answer(string t) {
  cout << "! " << t << endl;
  fflush(stdout);
  exit(0);
}
string s, a, b, c;
int n;
int main() {
  cin >> s;
  n = s.length();
  a = b = c = "";
  for (int i = 0; i < n; i++) {
    a += (char)('a' + i / 26 / 26);
    b += (char)('a' + i / 26 % 26);
    c += (char)('a' + i % 26);
  }
  a = Ask(a);
  b = Ask(b);
  c = Ask(c);
  string t = s;
  for (int i = 0; i < n; i++) {
    int p1 = (a[i] - 'a') * 26 * 26, p2 = (b[i] - 'a') * 26, p3 = (c[i] - 'a');
    t[p1 + p2 + p3] = s[i];
  }
  Answer(t);
}
