#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int ax, ay, bx, by, cx, cy, q;
  cin >> ax >> ay >> bx >> by >> cx >> cy;
  q = (bx - ax) * (cy - by) - (by - ay) * (cx - bx);
  if (q == 0)
    cout << "TOWARDS\n";
  else if (q > 0)
    cout << "LEFT\n";
  else
    cout << "RIGHT\n";
  return 0;
}
