#include <bits/stdc++.h>
using namespace std;
string check = "aeiou";
void inOut();
bool isOk(char c);
int main() {
  inOut();
  long long int tc, i, j, l, n, m, k, r, q, x;
  string str, ans, ans2;
  cin >> n;
  int sum = 0;
  while (n--) {
    cin >> str;
    sort(str.begin(), str.end());
    int len = str.length();
    ans = "";
    ans2 = "";
    for (i = 0; i < len; i++) {
      if (str[i] % 2 == 1)
        ans += str[i];
      else
        ans2 += str[i];
    }
    int len3 = ans2.length();
    for (i = 0; i < len3; i++) {
      int len2 = ans.length();
      if (abs(ans[len2 - 1] - ans2[i]) == 1) reverse(ans.begin(), ans.end());
      if (abs(ans[len2 - 1] - ans2[i]) == 1) reverse(ans2.begin(), ans2.end());
      ans += ans2[i];
    }
    int len4 = ans.length();
    int flg = 0;
    for (i = 0; i < len4 - 1; i++) {
      if (abs(ans[i + 1] - ans[i]) == 1) {
        flg = 1;
        break;
      }
    }
    if (flg != 1)
      cout << ans << endl;
    else
      cout << "No answer" << endl;
  }
  return 0;
}
void inOut() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
}
bool isOk(char c) {
  int len = check.length();
  for (int i = 0; i < len; i++)
    if (c == check[i]) return true;
  return false;
}
