#include <bits/stdc++.h>
using namespace std;
const long long int mod = 1000000000 + 7;
const long long int N = 10000000 + 6;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long int n, m, k;
  cin >> n >> m >> k;
  long long int tareeke = 0;
  long long int inside_tareeke = 0;
  for (int i = 1; i * i <= m; i++) {
    if (m % i == 0) {
      int fac1 = i;
      int fac2 = m / i;
      if (fac1 >= k && fac1 != m) {
        tareeke++;
        for (int j = 1; j * j <= fac1; j++) {
          if (fac1 % j == 0) {
            if ((fac1 / j >= k && fac1 / j != fac1) || (j >= k && j != fac1))
              inside_tareeke++;
          }
        }
      }
      if (fac2 >= k && fac2 != m) {
        tareeke++;
        for (int j = 1; j * j <= fac2; j++) {
          if (fac2 % j == 0) {
            if ((fac2 / j >= k && fac2 / j != fac2) || (j >= k && j != fac2))
              inside_tareeke++;
          }
        }
      }
    }
  }
  if (n % 2 == 0 || ((n & 1) && tareeke == 0)) {
    cout << "Marsel";
    return 0;
  }
  cout << "Timur";
  return 0;
}
