#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, k;
  scanf("%d", &n);
  scanf("%d", &m);
  scanf("%d", &k);
  int j = sqrt(m);
  int l = 0;
  for (int i = 2; i <= j; i++) {
    if (m % i == 0 && m / i >= k) l = 1;
  }
  if (l == 1 || (k == 1 && m > 1)) {
    if (n % 2 == 0)
      printf("Marsel\n");
    else
      printf("Timur\n");
  } else {
    printf("Marsel\n");
  }
  return 0;
}
