#include <bits/stdc++.h>
using namespace std;
unsigned int randInt() {
  static unsigned int tx = 123456789, ty = 362436069, tz = 521288629,
                      tw = 88675123;
  unsigned int tt = (tx ^ (tx << 11));
  tx = ty;
  ty = tz;
  tz = tw;
  return (tw = (tw ^ (tw >> 19)) ^ (tt ^ (tt >> 8)));
}
int randInt(int minv, int maxv) { return randInt() % (maxv - minv + 1) + minv; }
int main() {
  string A = "";
  for (int i = 0; i < 100; ++i) A += "A";
  map<string, int> ma;
  for (int i = 0; i < 10 * 9 * 8 * 7 * 6 * 5 * 4 * 3 * 2 * 1; ++i) {
    string str;
    for (int j = 0; j < 100; ++j) {
      char c = (char)('A' + (int)(randInt() % 26));
      str += c;
    }
    ma[str]++;
  }
  cout << ma.size() << endl;
}
