#include <bits/stdc++.h>
using namespace std;
void set_instruction(vector<int> S, int Z, char A);
namespace {
enum state {
HERE,
LEFT,
DOWN,
RIGHT,
UP
};
}
void program_pulibot() {
for (int e1 = -2; e1 <= 1; e1++) {
for (int e2 = -2; e2 <= 1; ++e2) {
for (int e3 = -2; e3 <= 1; ++e3) {
for (int e4 = -2; e4 <= 1; ++e4) {
for (int e5 = -2; e5 <= 1; ++e5) {
vector<int> S = {e1, e2, e3, e4, e5};
if (S[RIGHT] == -2 && S[DOWN] == -2) {
set_instruction(S, 1, 'T');
continue;
}
if (S[RIGHT] == -2) {
set_instruction(S, 1, 'S');
continue;
}
if (S[DOWN] == -2) {
set_instruction(S, 1, 'E');
continue;
}
if (S[RIGHT] == -1) {
if (S[UP] == -2) {
set_instruction(S, 1, 'S');
} else {
set_instruction(S, 1, 'N');
}
continue;
}
set_instruction(S, 1, 'E');
}
}
}
}
}
}