#include <bits/stdc++.h>
using namespace std;
int32_t main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long n, m, k;
  cin >> n >> m >> k;
  if (n % 2 == 0)
    cout << "Marsel";
  else {
    set<long long> s;
    for (long long i = 1; i * i <= m; i++) {
      if (m % i == 0) {
        if (i >= k) s.insert(i);
        if (m >= k * i) s.insert(m / i);
      }
    }
    map<long long, long long> mm;
    for (auto i : s) {
      bool a[1000];
      memset(a, 0, sizeof(a));
      for (auto j : s) {
        if (i <= j) break;
        if (i % j) continue;
        if ((i / j) % 2 == 0)
          a[0] = 1;
        else
          a[mm[j]] = 1;
      }
      long long k = 0;
      while (a[k]) k++;
      mm[i] = k;
    }
    if (mm[m])
      cout << "Timur";
    else
      cout << "Marsel";
  }
}
