#include <bits/stdc++.h>
using namespace std;
struct point {
  long long int x, y;
};
struct vec {
  long long int x, y;
  vec() {
    x = 0;
    y = 0;
  }
  vec(point a, point b) {
    x = b.x - a.x;
    y = b.y - a.y;
  }
  long long int vect(vec b) { return x * b.y - y * b.x; }
};
int main() {
  point a, b, c;
  cin >> a.x >> a.y;
  cin >> b.x >> b.y;
  cin >> c.x >> c.y;
  vec AB(a, b), BC(b, c);
  if (AB.vect(BC) == 0)
    cout << "TOWARDS";
  else if (AB.vect(BC) > 0)
    cout << "LEFT";
  else
    cout << "RIGHT";
}
