#include <bits/stdc++.h>
using namespace std;
template <typename T, typename TT>
ostream& operator<<(ostream& s, pair<T, TT> t) {
  return s << "(" << t.first << "," << t.second << ")";
}
template <typename T>
ostream& operator<<(ostream& s, vector<T> t) {
  for (int i = 0; i < t.size(); i++) s << t[i] << " ";
  return s;
}
int fun(int f, int m, int k) {
  if (m <= k || f == 0) return 0;
  for (int i = 2; (long long)i * i <= m; i++)
    if (m % i == 0 && m / i >= k) {
      if (!fun(i & 1, m / i, k)) return 1;
    } else if (m / i < k)
      break;
  if (1 >= k && !fun(m & 1, 1, k)) return 1;
  return 0;
}
int main() {
  int m, i, j, k, T, n;
  while (~scanf("%d%d%d", &n, &m, &k)) {
    int s = fun(n & 1, m, k);
    if (s)
      puts("Timur");
    else
      puts("Marsel");
  }
  return 0;
}
