#include <bits/stdc++.h>
int main() {
  double mab, ax, ay, bx, by, cx, cy, mbc;
  scanf("%lf%lf%lf%lf%lf%lf", &ax, &ay, &bx, &by, &cx, &cy);
  mab = (by - ay) / (bx - ax);
  mbc = (cy - by) / (cx - bx);
  if ((by - ay) * (cx - bx) == (bx - ax) * (cy - by))
    printf("TOWARDS");
  else {
    bx -= ax;
    cx -= ax;
    by -= ay;
    cy -= ay;
    if (by > 0) {
      if (cx > bx)
        goto kanan;
      else
        goto kiri;
    } else if (by < 0) {
      if (cx < bx)
        goto kanan;
      else
        goto kiri;
    } else if (by == 0 && bx > 0) {
      if (cy < 0)
        goto kanan;
      else
        goto kiri;
    } else {
      if (cy > 0)
        goto kanan;
      else
        goto kiri;
    }
  }
  if (0) {
  kanan:
    printf("RIGHT");
  }
  if (0) {
  kiri:
    printf("LEFT");
  }
  return 0;
}
