#include <bits/stdc++.h>
int main() {
  int n, m, k;
  scanf("%d %d %d ", &n, &m, &k);
  if (m == 1) {
    printf("Marsel");
    return 0;
  }
  bool se_poate = k == 1;
  int radical = sqrt(m);
  for (long long i = 2; i <= radical; i++) {
    if (m % i == 0 && (i >= k || m / i >= k)) se_poate = true;
  }
  if (se_poate) {
    if (n % 2 == 1)
      printf("Timur");
    else
      printf("Marsel");
  } else
    printf("Marsel");
  return 0;
}
