#include <bits/stdc++.h>
using namespace std;
int main() {
  long double a, b, c, d, e, f, g;
  cin >> a >> b >> c >> d >> e >> f;
  g = (c - a) * (f - d) - (d - b) * (e - c);
  if (!g)
    cout << "TOWARDS";
  else if (g > 0)
    cout << "LEFT";
  else
    cout << "RIGHT";
  return 0;
}
