#include <bits/stdc++.h>
using namespace std;
int main() {
  double x, y, x1, y1, x2, y2, t;
  cin >> x >> y >> x1 >> y1 >> x2 >> y2;
  t = .5 * ((x * y1 + x1 * y2 + x2 * y) - (x1 * y + x2 * y1 + x * y2));
  if (!t)
    cout << "TOWARDS";
  else if (t > 0)
    cout << "LEFT";
  else
    cout << "RIGHT";
}
