#include <bits/stdc++.h>
int main() {
  double a, b, c, d, e, f;
  while (~scanf("%lf%lf%lf%lf%lf%lf", &a, &b, &c, &d, &e, &f)) {
    double sum = a * d + e * b + c * f - e * d - a * f - c * b;
    if (sum == 0)
      printf("TOWARDS\n");
    else if (sum < 0)
      printf("RIGHT\n");
    else
      printf("LEFT\n");
  }
  return 0;
}
