#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;
}
I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7Cgpjb25zdCBkb3VibGUgRVBTID0gMC4wMDE7CnN0cnVjdCBQb2ludCB7CiAgICBkb3VibGUgeCwgeTsKfTsKCmRvdWJsZSBkaXN0KFBvaW50IEEsIFBvaW50IEIpIHsKICAgIHJldHVybiBzcXJ0KChBLnggLSBCLngpICogKEEueCAtIEIueCkgKyAoQS55IC0gQi55KSAqIChBLnkgLSBCLnkpKTsKfQoKaW50IGNjdyhQb2ludCBBLCBQb2ludCBCLCBQb2ludCBDKSB7CiAgICBkb3VibGUgazsKICAgIGsgPSAoQi54IC0gQS54KSooQy55IC0gQi55KSAtIChCLnkgLSBBLnkpICogKEMueCAtIEIueCk7CiAgICBpZiAoYWJzKGspIDw9IEVQUykgcmV0dXJuIDA7CiAgICBpZiAoayA8IDApIHJldHVybiAtMTsKICAgIHJldHVybiAxOwp9CmludCBtYWluKCkgewogICAgUG9pbnQgQSwgQiwgQzsKICAgIGNpbiA+PiBBLnggPj4gQS55ID4+IEIueCA+PiBCLnkgPj4gQy54ID4+IEMueTsKICAgIGludCBkaXJlY3Rpb24gPSBjY3coQSwgQiwgQyk7CiAgICBpZiAoZGlyZWN0aW9uID09IDApIGNvdXQgPDwgIlRPV0FSRFMiOwogICAgZWxzZSBpZiAoZGlyZWN0aW9uID09IC0xKSBjb3V0IDw8ICJSSUdIVCI7CiAgICBlbHNlIGNvdXQgPDwgIkxFRlQiOwogICAgcmV0dXJuIDA7Cn0K