Flatter Land
시간 제한1초메모리 제한2048 MB
일직선 위에 x피트 간격으로 서 있는 n명 중 가장 멀리 떨어진 두 사람 사이의 거리를 구한다.
문제
You may have heard of Flat Land, the D place, but have you heard of Flatter Land, the D place? In Flatter Land, a disease has begun ravaging the cities. To keep the citizens of Flatter Land safe, their experts recommend that they maintain at least feet of distance between people. If Flatter Land citizens are standing as close to each other as they safely can, what's the longest distance between any two of them? You can assume that the people themselves take up no space.
입력
The first line tells you the number of people () and the second tells you the recommended distance between people in feet ().
출력
You should print the farthest distance between any two people in the group assuming that the distance from one person to the next is exactly the recommended distance. You may also assume that people take up no space.