#include <bits/stdc++.h>
using namespace std;
inline bool swin(int a, int min) {
  int k = sqrt(a) + 1;
  for (register int i = 1; i < k; ++i) {
    if (a % i != 0) {
      continue;
    }
    if (i >= min && a / i > 1) {
      return 0;
    } else {
      if (i > 1 && a / i >= min) {
        return 0;
      }
    }
  }
  return 1;
}
int main() {
  int n, m, k;
  cin >> n >> m >> k;
  if (n % 2 == 0) {
    cout << "Marsel";
  } else {
    if (swin(m, k)) {
      cout << "Marsel";
    } else {
      cout << "Timur";
    }
  }
}
