#include <bits/stdc++.h>
using namespace std;
static const double EPS = 1e-10;
vector<int> v;
vector<vector<int> > in;
long long gcd(long long a, long long b) { return (b > 0) ? gcd(b, a % b) : a; }
int main() {
  long long N, M, K;
  cin >> N >> M >> K;
  bool ok = false;
  if (K == 1 && M > 1) ok = true;
  for (long long i = 2; i * i <= M; ++i) {
    if (M % i == 0 && (i >= K || M / i >= K)) ok = true;
  }
  if (!ok) {
    cout << "Marsel";
  } else if (N == 1) {
    cout << "Timur";
  } else if (N % 2) {
    cout << "Timur";
  } else {
    cout << "Marsel";
  }
}
