#include <iostream>

using namespace std;

int main() {
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);

    long long x1, y1, x2, y2;
    if (!(cin >> x1 >> y1 >> x2 >> y2)) return 0;

    long long cur_x = x1, cur_y = y1;
    long long prev_x = x1, prev_y = y1;
    long long truck_hits = 0;
    char last_move = ' ';
    bool reached = false;

    if (cur_x == x2 && cur_y == y2) {
        reached = true;
    }

    char c;
    while (cin >> c) {
        if (reached) {
            continue;
        }

        if (c == 'p') {
            break;
        }

        long long old_x = cur_x;
        long long old_y = cur_y;

        if (c == 'r') {
            cur_x += 1;
            last_move = 'r';
            prev_x = old_x; prev_y = old_y;
        } else if (c == 'l') {
            cur_x -= 1;
            last_move = 'l';
            prev_x = old_x; prev_y = old_y;
        } else if (c == 'u') {
            cur_y += 1;
            last_move = 'u';
            prev_x = old_x; prev_y = old_y;
        } else if (c == 'd') {
            cur_y -= 1;
            last_move = 'd';
            prev_x = old_x; prev_y = old_y;
        } else if (c == 's') {
            // Đứng im
        } else if (c == 'b') {
            if (last_move == 'r') {
                cur_x -= 1;
                last_move = 'l';
            } else if (last_move == 'l') {
                cur_x += 1;
                last_move = 'r';
            } else if (last_move == 'u') {
                cur_y -= 1;
                last_move = 'd';
            } else if (last_move == 'd') {
                cur_y += 1;
                last_move = 'u';
            }
            prev_x = old_x; prev_y = old_y;
        } else if (c == 't') {
            truck_hits++;
            cur_x = prev_x;
            cur_y = prev_y;
            // Lưu lại vị trí trước khi bị cán
            prev_x = old_x; prev_y = old_y;
        } else if (c == 'm') {
            cur_x = truck_hits;
            prev_x = old_x; prev_y = old_y;
        }

        if (cur_x == x2 && cur_y == y2) {
            reached = true;
        }
    }

    if (reached) {
        cout << "SAVED\n";
    } else {
        cout << "DEAD\n";
    }

    return 0;
}