When?

AtCoder
IDabc258_a
Time2000ms
Memory256MB
Difficulty
AtCoder Beginner Contest usually starts at 21:00 JST and lasts for $100$ minutes. You are given an integer $K$ between $0$ and $100$ (inclusive). Print the time $K$ minutes after 21:00 in the `HH:MM` format, where `HH` denotes the hour on the $24$\-hour clock and `MM` denotes the minute. If the hour or the minute has just one digit, append a $0$ to the beginning to represent it as a $2$\-digit integer. ## Constraints * $K$ is an integer between $0$ and $100$ (inclusive). ## Input Input is given from Standard Input in the following format: $K$ [samples]
Samples
Input #1
63
Output #1
22:03

$63$ minutes after 21:00, it will be 22:03, so `22:03` should be printed.
The following outputs would be judged incorrect:

*   `10:03`
*   `22:3`
Input #2
45
Output #2
21:45
Input #3
100
Output #3
22:40
API Response (JSON)
{
  "problem": {
    "name": "When?",
    "description": {
      "content": "AtCoder Beginner Contest usually starts at 21:00 JST and lasts for $100$ minutes. You are given an integer $K$ between $0$ and $100$ (inclusive). Print the time $K$ minutes after 21:00 in the `HH:MM` ",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc258_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "AtCoder Beginner Contest usually starts at 21:00 JST and lasts for $100$ minutes.\nYou are given an integer $K$ between $0$ and $100$ (inclusive). Print the time $K$ minutes after 21:00 in the `HH:MM` ...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments