import java.util.*;
class Demo {
enum DayOfWeek {
U, M, T, W, R, F, S
}
public static void main
(String[] args
) { while(days.hasNext()) {
System.
out.
println(days.
next()); }
}
}
aW1wb3J0IGphdmEudXRpbC4qOwoKY2xhc3MgRGVtbyB7CiAgICBlbnVtIERheU9mV2VlayB7CiAgICAJVSwgTSwgVCwgVywgUiwgRiwgUwogICAgfQoKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB7CgkJSXRlcmF0b3IgZGF5cyA9IEFycmF5cy5hc0xpc3QoRGF5T2ZXZWVrLnZhbHVlcygpKS5pdGVyYXRvcigpOwoJCXdoaWxlKGRheXMuaGFzTmV4dCgpKSB7CgkJCVN5c3RlbS5vdXQucHJpbnRsbihkYXlzLm5leHQoKSk7CgkJfQoJfQp9