#include <bits/stdc++.h>
using namespace std;
struct toado {
  long double x, y;
} a, b, c;
struct toado2 {
  long double x, y;
  int hh;
} d;
int h = 0;
long double p, q;
int huong(long double xa, long double xb, long double ya, long double yb) {
  if ((xa == xb) && (ya < yb)) return (0);
  if ((xa < xb) && (ya < yb)) return (1);
  if ((xa < xb) && (ya == yb)) return (2);
  if ((xa < xb) && (ya > yb)) return (3);
  if ((xa == xb) && (ya > yb)) return (4);
  if ((xa > xb) && (ya > yb)) return (5);
  if ((xa > xb) && (ya == yb)) return (6);
  if ((xa > xb) && (ya < yb)) return (7);
}
void ptdt(long double xa, long double xb, long double ya, long double yb) {
  p = (ya - yb) / (xa - xb);
  q = ya - p * xa;
}
double long f(long double x, long double y) { return (x * p + q - y); }
int kt() {
  int t;
  t = int(f(c.x, c.y));
  if (t == 0) return (2);
  if (((f(d.x, d.y) < 0) && (f(c.x, c.y) < 0)) ||
      ((f(d.x, d.y) > 0) && (f(c.x, c.y) > 0)))
    return (1);
  else
    return (0);
}
int xuli() {
  if ((h == 1) || (h == 3)) {
    d.x = b.x;
    d.y = b.y - 1;
    d.hh = 1;
    return 0;
  }
  if ((h == 5) || (h == 7)) {
    d.x = b.x;
    d.y = b.y - 1;
    d.hh = 2;
    return 0;
  }
  if (h == 0) {
    if (c.x == b.x) cout << "TOWARDS";
    if (c.x < b.x) cout << "LEFT";
    if (c.x > b.x) cout << "RIGHT";
    return 1;
  }
  if (h == 4) {
    if (c.x == b.x) cout << "TOWARDS";
    if (c.x < b.x) cout << "RIGHT";
    if (c.x > b.x) cout << "LEFT";
    return 1;
  }
  if (h == 2) {
    if (c.y == b.y) cout << "TOWARDS";
    if (c.y > b.y) cout << "LEFT";
    if (c.y < b.y) cout << "RIGHT";
    return 1;
  }
  if (h == 6) {
    if (c.y == b.y) cout << "TOWARDS";
    if (c.y < b.y) cout << "LEFT";
    if (c.y > b.y) cout << "RIGHT";
    return 1;
  }
}
int main() {
  int tmp;
  cin >> a.x >> a.y;
  cin >> b.x >> b.y;
  cin >> c.x >> c.y;
  h = huong(a.x, b.x, a.y, b.y);
  if (xuli() == 0) {
    ptdt(a.x, b.x, a.y, b.y);
    tmp = kt();
    if (tmp == 1) {
      if (d.hh == 1) cout << "RIGHT";
      if (d.hh == 2) cout << "LEFT";
    }
    if (tmp == 0) {
      if (d.hh == 1)
        cout << "LEFT";
      else
        cout << "RIGHT";
    }
    if (tmp == 2) {
      cout << "TOWARDS";
    }
  }
  return 0;
}
