#include <bits/stdc++.h>
using namespace std;
char ch[105];
bool cmp(char x, char y) {
  int xx = x - 'a';
  int yy = y - 'a';
  if ((xx % 2) == (yy % 2)) {
    return xx < yy;
  } else {
    return xx % 2;
  }
}
bool cmp1(char x, char y) {
  int xx = x - 'a';
  int yy = y - 'a';
  if ((xx % 2) == (yy % 2)) {
    return xx < yy;
  } else {
    return (xx % 2) ^ 1;
  }
}
int main() {
  int t;
  cin >> t;
  while (t--) {
    cin >> ch;
    int len = strlen(ch);
    sort(ch, ch + len, cmp);
    bool flag = 0;
    for (int i = 0; i < len - 1; ++i) {
      if (abs(ch[i] - ch[i + 1]) == 1) {
        flag = 1;
      }
    }
    if (!flag) {
      cout << ch << endl;
      continue;
    }
    flag = 0;
    sort(ch, ch + len, cmp1);
    for (int i = 0; i < len - 1; ++i) {
      if (abs(ch[i] - ch[i + 1]) == 1) {
        puts("No answer");
        flag = 1;
      }
    }
    if (!flag) {
      cout << ch << endl;
      continue;
    }
  }
  return 0;
}
