#include <bits/stdc++.h>
using namespace std;
long long n, m, k;
vector<long long> d;
set<long long> lol;
bool ban;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cin >> n >> m >> k;
  for (int i = 1; i <= sqrt(m); ++i)
    if (m % i == 0) d.push_back(i);
  for (int i = 0; i < (int)d.size(); ++i) {
    lol.insert(d[i]);
    lol.insert(m / d[i]);
  }
  d.clear();
  for (set<long long>::iterator it = lol.begin(); it != lol.end(); ++it) {
    d.push_back(*it);
  }
  for (int i = 0; i < (int)d.size(); ++i) {
    if (d[i] >= k && m / d[i] > 1) ban = true;
  }
  if (ban == true) {
    if (n % 2 == 0)
      cout << "Marsel\n";
    else
      cout << "Timur\n";
  } else
    cout << "Marsel\n";
  return 0;
}
