13 Floors
면접 대비시간 제한1초메모리 제한2048 MB
실제 층 번호가 주어질 때 13층을 건너뛴 표기를 출력한다. 12층은 12로 두고 13층부터는 하나씩 밀린다.
문제
Bill is responsible for labeling all the floors on a new skyscraper. He's superstitious, so he wants to skip floor 13 while labeling the floors. This means that the , , and floors should be labeled , , and , respectively. Given the true floor number, can you tell Bill what to label that floor?
입력
The input is a single positive integer representing the true floor number.
출력
The output is a single positive integer, which is the label for the corresponding floor in the input.