#include <bits/stdc++.h>
using namespace std;
bool gao(int m, int k) {
  if (k == 1) {
    return m > 1;
  }
  for (int x = 2; x * x <= m; ++x) {
    if (m % x == 0 && (x >= k || m / x >= k)) {
      return true;
    }
  }
  return false;
}
int main() {
  int n, m, k;
  while (cin >> n >> m >> k) {
    if ((n & 1) && gao(m, k)) {
      cout << "Timur" << endl;
    } else {
      cout << "Marsel" << endl;
    }
  }
  return 0;
}
