#SCKTCUOIKI0004. Đọc tên ngày trong tuần (Day of the Week)
Bài tập này chưa được xếp vào lộ trình.
Mục lục đề ⌄
Đọc tên ngày trong tuần (Day of the Week)
Day of the Week
**Version: Phuoc Hung OJ Extended
Problem Statement
Weekdays are represented by integers: for Monday (Thứ Hai), for Tuesday (Thứ Ba), for Wednesday (Thứ Tư), for Thursday (Thứ Năm), for Friday (Thứ Sáu), for Saturday (Thứ Bảy), and for Sunday (Chủ nhật). Given an integer , print its corresponding Vietnamese weekday name. Values outside through are invalid.
Input
The only line contains the integer .
Output
Print exactly one of Thứ Hai, Thứ Ba, Thứ Tư, Thứ Năm, Thứ Sáu, Thứ Bảy, Chủ nhật when the input is valid; otherwise print Không hợp lệ. Preserve spelling, accents and capitalization.
Subtasks
- Subtask 1 (20 points): .
- Subtask 2 (30 points): .
- Subtask 3 (50 points): .
Examples
Input
7
Output
Chủ nhật
Explanation
The input is . Under the specified mapping, represents Sunday, whose required output string is Chủ nhật.
Liên quan
Trong các cuộc thi sau: