#include <bits/stdc++.h>
using namespace std;
namespace scanfuck {
const int L = (1 << 21) + 1;
struct io {
  char ibuf[L], *iS, *iT, obuf[L], *oS, *oT, c, st[55];
  int f, tp;
  void flush() {
    fwrite(obuf, 1, oS - obuf, stdout);
    oS = obuf;
  }
  void putc(char x) {
    *oS++ = x;
    if (oS == oT) flush();
  }
  template <class T>
  T rd() {
    register T x = 0;
    for (f = 1, c = (iS == iT ? (iT = (iS = ibuf) + fread(ibuf, 1, L, stdin),
                                (iS == iT ? EOF : *iS++))
                              : *iS++);
         !isdigit(c);
         c = (iS == iT ? (iT = (iS = ibuf) + fread(ibuf, 1, L, stdin),
                         (iS == iT ? EOF : *iS++))
                       : *iS++))
      if (c == '-') f = -1;
    for (x = 0; isdigit(c);
         c = (iS == iT ? (iT = (iS = ibuf) + fread(ibuf, 1, L, stdin),
                         (iS == iT ? EOF : *iS++))
                       : *iS++))
      x = x * 10 + (c & 15);
    return x * f;
  }
  template <class T>
  void print(T x) {
    if (!x)
      putc('0');
    else {
      if (x < 0) putc('-'), x = -x;
      for (tp = 0; x; st[tp++] = x % 10 + 48, x /= 10)
        ;
      for (tp--; ~tp; putc(st[tp--]))
        ;
    }
  }
  void gs(char* s, int& l) {
    for (c = (iS == iT ? (iT = (iS = ibuf) + fread(ibuf, 1, L, stdin),
                         (iS == iT ? EOF : *iS++))
                       : *iS++);
         !isalpha(c);
         c = (iS == iT ? (iT = (iS = ibuf) + fread(ibuf, 1, L, stdin),
                         (iS == iT ? EOF : *iS++))
                       : *iS++))
      ;
    for (l = 0; isalpha(c);
         c = (iS == iT ? (iT = (iS = ibuf) + fread(ibuf, 1, L, stdin),
                         (iS == iT ? EOF : *iS++))
                       : *iS++))
      s[l++] = c;
  }
  void ps(const char* s) {
    for (tp = 0; tp < strlen(s); ++tp) putc(s[tp]);
  }
  io() : oS(obuf), oT(obuf + L - 1) {}
  ~io() { flush(); }
} ip;
}  // namespace scanfuck
int n = scanfuck::ip.rd<int>(), m = scanfuck::ip.rd<int>(),
    k = scanfuck::ip.rd<int>();
inline bool judge() {
  if (!(n & 1)) return 1;
  int t = sqrt(m);
  for (register int i = 1; i <= t; ++i)
    if (m % i == 0 && (i >= k && m / i > 1 || i > 1 && m / i >= k)) return 0;
  return 1;
}
int main() { scanfuck::ip.ps(judge() ? "Marsel" : "Timur"); }
