#include <bits/stdc++.h>
using namespace std;
using namespace std;
int main() {
  complex<long double> a[3];
  int x, y;
  for (int i = 0; i < (int)3; i++) {
    scanf("%d%d", &x, &y);
    a[i] = complex<long double>(x, y);
  }
  if (((conj(((a[1]) - (a[0]))) * (((a[2]) - (a[1])))).imag()) == 0) {
    printf("TOWARDS\n");
  } else if (((conj(((a[1]) - (a[0]))) * (((a[2]) - (a[1])))).imag()) > 0) {
    printf("LEFT\n");
  } else {
    printf("RIGHT\n");
  }
  return 0;
}
