#include <bits/stdc++.h>
using namespace std;
int main() {
  long n = 0;
  n = 1;
  vector<pair<long, long> > a(n);
  string b = "";
  long c = 0;
  long d = 0;
  for (long i = 0; i < n; i++) {
    b = "H";
    c = 7;
    if (b == "S") {
      d = 0;
    } else if (b == "H") {
      d = 1;
    } else if (b == "C") {
      d = 2;
    } else if (b == "D") {
      d = 3;
    } else {
      cout << "something error occurred";
    }
    a[i] = make_pair(d, c);
  }
  sort(a.begin(), a.end());
  vector<pair<long, long> > f(52);
  for (long i = 0; i < 4; i++) {
    for (long j = 0; j < 13; j++) {
      f[i * 13 + j] = make_pair(i, j + 1);
    }
  }
  vector<long> o(52, 0);
  for (long i = 0; i < 52; i++) {
    for (long j = 0; j < n; j++) {
      if (a[j] == f[i]) {
        o[i] = 1;
      }
    }
  }
  string e;
  for (long i = 0; i < 52; i++) {
    if (o[i] != 1) {
      switch (f[i].first) {
        case 0:
          e = "S";
          break;
        case 1:
          e = "H";
          break;
        case 2:
          e = "C";
          break;
        case 3:
          e = "D";
          break;
        default:
          e = "NULL";
          break;
      }
      cout << e << " " << f[i].second << endl;
    }
  }
  return 0;
}
