#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, k, q, p = 2;
  cin >> n >> m >> k;
  if (m == 1 && k == 1)
    p = 0;
  else if (n % 2 == 0)
    p = 0;
  else {
    if (k == 1) p = 1;
    q = sqrt(m);
    for (int i = 2; i <= q; ++i) {
      if (m % i == 0 && m / i >= k) p = 1;
    }
  }
  if (p == 2) p = 0;
  if (p == 0)
    cout << "Marsel";
  else
    cout << "Timur";
  return 0;
}
