#!/root/clam/clam
#include "stdlib.h"
#include "stat.h"

main(list argv)
{
  int n;
  int x = 0, a, b, c, d, e, f;

  a = n = ((int)argv[1] > 0) ? (int)argv[1] : 1;
  while (a--) {
    b = n;
    while (b--) {
      c = n;
      while (c--) {
        d = n;
        while (d--) {
          e = n;
          while (e--) {
            f = n;
            while (f--) x++;
          }
        }
      }
    }
  }
  print(x,"\n");
}
