#include <bits/stdc++.h>
using namespace std;
int main() {
  vector<pair<long long, long long> > v(3);
  for (int i = 0; i < 3; ++i) cin >> v[i].first >> v[i].second;
  if (v[0].first == v[1].first) {
    if (v[2].first == v[0].first)
      cout << "TOWARDS";
    else {
      if ((v[1].second - v[0].second) * (v[2].first - v[0].first) < 0)
        cout << "LEFT";
      else
        cout << "RIGHT";
    }
  } else {
    double a = 1.0 * (v[1].second - v[0].second) / (v[1].first - v[0].first);
    double b = v[1].second - a * v[1].first;
    if (abs(a * v[2].first + b - v[2].second) < 1e-5)
      cout << "TOWARDS";
    else {
      if ((v[1].first - v[0].first) * (a * v[2].first + b - v[2].second) > 0)
        cout << "RIGHT";
      else
        cout << "LEFT";
    }
  }
  cout << endl;
  return 0;
}
