var x:integer;beginread(x);if x = 1 then writeln('Понедельник');if x = 2 thenwriteln('Вторник');if x = 3 thenwriteln('Среда');if x = 4 thenwriteln('Четверг');if x = 5 thenwriteln('Пятница');if x = 6 thenwriteln('Суббота');if x = 7 thenwriteln('Воскресенье');end.