#include <bits/stdc++.h>
using namespace std;
struct node {
  double x;
  double y;
} a, b, c;
struct xishu {
  double a, b, c;
};
struct xishu getline(struct node x, struct node y) {
  struct xishu w;
  w.a = y.y - x.y;
  w.b = x.x - y.x;
  w.c = y.x * x.y - x.x * y.y;
  return w;
}
bool zero(double n) { return fabs(n) <= 1e-8; }
int main() {
  scanf("%lf%lf%lf%lf%lf%lf", &a.x, &a.y, &b.x, &b.y, &c.x, &c.y);
  xishu l1;
  l1 = getline(a, b);
  if (zero(l1.a * c.x + l1.b * c.y + l1.c))
    printf("TOWARDS\n");
  else {
    int flag1 = 0, flag2 = 0;
    if (l1.a * c.x + l1.b * c.y + l1.c > 0)
      flag1 = 1;
    else
      flag1 = 0;
    l1 = getline(b, c);
    if (l1.a * c.x + l1.b * c.y + l1.c > 0)
      flag2 = 1;
    else
      flag2 = 0;
    if (flag1 == 0 && flag2 == 0 || flag1 == 1 && flag2 == 1)
      printf("LEFT\n");
    else
      printf("RIGHT\n");
  }
  return 0;
}
