#include <bits/stdc++.h>
using namespace std;

const double EPS = 0.001;
struct Point {
    double x, y;
};

double dist(Point A, Point B) {
    return sqrt((A.x - B.x) * (A.x - B.x) + (A.y - B.y) * (A.y - B.y));
}

int ccw(Point A, Point B, Point C) {
    double k;
    k = (B.x - A.x)*(C.y - B.y) - (B.y - A.y) * (C.x - B.x);
    if (abs(k) <= EPS) return 0;
    if (k < 0) return -1;
    return 1;
}
int main() {
    Point A, B, C;
    cin >> A.x >> A.y >> B.x >> B.y >> C.x >> C.y;
    int direction = ccw(A, B, C);
    if (direction == 0) cout << "TOWARDS";
    else if (direction == -1) cout << "RIGHT";
    else cout << "LEFT";
    return 0;
}
