#include <bits/stdc++.h>
using namespace std;
int v[10005];
char c[10005];
int main() {
  string s;
  cin >> s;
  cout << "? ";
  for (unsigned int i = 0; i < s.size(); i++) {
    char ch = 'a' + (i % 26);
    cout << ch;
  }
  cout << endl;
  string a;
  cin >> a;
  for (unsigned int i = 0; i < s.size(); i++) v[i] += a[i] - 'a';
  cout << "? ";
  for (unsigned int i = 0; i < s.size(); i++) {
    char ch = 'a' + (i / 26) % 26;
    cout << ch;
  }
  cout << endl;
  string b;
  cin >> b;
  for (unsigned int i = 0; i < s.size(); i++) v[i] += (b[i] - 'a') * 26;
  cout << "? ";
  for (unsigned int i = 0; i < s.size(); i++) {
    char ch = 'a' + (i / 676) % 26;
    cout << ch;
  }
  cout << endl;
  string c2;
  cin >> c2;
  for (unsigned int i = 0; i < s.size(); i++) v[i] += (c2[i] - 'a') * 26 * 26;
  for (unsigned int i = 0; i < s.size(); i++) c[v[i]] = s[i];
  cout << "! " << c << endl;
  return 0;
}
