#include <bits/stdc++.h>
using namespace std;
long long xmulti(long long p1x, long long p1y, long long p2x, long long p2y,
                 long long p0x, long long p0y) {
  return ((p1x - p0x) * (p2y - p0y) - (p2x - p0x) * (p1y - p0y));
}
int main() {
  long long x1, x2, x3, y1, y2, y3;
  cin >> x1 >> y1 >> x2 >> y2 >> x3 >> y3;
  long long a = xmulti(x2, y2, x3, y3, x1, y1);
  if (a == 0)
    cout << "TOWARDS" << endl;
  else if (a > 0)
    cout << "LEFT" << endl;
  else
    cout << "RIGHT" << endl;
}
