#include <bits/stdc++.h>
using namespace std;
int many, much, k;
int main() {
  cin >> many >> much >> k;
  if (many % 2 == 0) {
    cout << "Marsel";
    return 0;
  }
  for (int i = 2; i * i <= much; i++)
    if (much % i == 0)
      if ((i >= k) || (much / i >= k)) {
        cout << "Timur";
        return 0;
      }
  if (k == 1 && much > 1) {
    cout << "Timur";
    return 0;
  }
  {
    cout << "Marsel";
    return 0;
  }
}
