void main() {
    int[] a = new int[5];
    foreach (i; 0 .. 5) {
        a[i] = readln.chomp.to!int;
    }
    int k = readln.chomp.to!int;
    writeln(a[$-1] - a[0] > k ? ":(" : "Yay!");
}

import std.stdio;
import std.string;
import std.array;
import std.conv;
import std.algorithm;
import std.range;
import std.math;
import std.container;
import std.typecons;