시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
1 초 128 MB 724 547 530 77.259%

문제

동혁이는 졸업을 하기 위해 일반 화학 실험을 들어야 한다. 마지막 실험은 어떤 혼합물을 만든 뒤 온도를 1분에 한 번씩 잰 후, 1분동안 변화한 온도를 표로 만들어야 한다.

뛰어난 프로그래머인 동혁이는 혼합물의 온도를 자동으로 측정해주는 프로그램을 만들었다. 하지만, 깜빡하고 변화한 온도를 자동으로 계산해주는 프로그램을 만들지 않았다.

동혁이가 측정한 온도가 주어졌을 때, 변화한 온도를 구하는 프로그램을 작성하시오.

입력

입력은 동혁이가 측정한 혼합물의 온도가 순서대로 주어진다. 온도는 -10도와 200도 사이이고, 소수점 둘째짜리까지 적혀져 있을 수도 있다. 마지막 측정 후에는 999가 주어진다. 동혁이는 온도를 적어도 2번 측정했다.

출력

입력으로 주어진 각 온도와 이전 온도와의 차이를 출력한다. 첫번째 측정할 온도는 이전 온도가 없으니 출력할 필요가 없다. 차이는 항상 소수점 둘째자리까지 출력한다.

예제 입력 1

10.0
12.05
30.25
20
999

예제 출력 1

2.05
18.20
-10.25
W3sicHJvYmxlbV9pZCI6IjQ3NjYiLCJwcm9ibGVtX2xhbmciOiIwIiwidGl0bGUiOiJcdWM3N2NcdWJjMTggXHVkNjU0XHVkNTU5IFx1YzJlNFx1ZDVkOCIsImRlc2NyaXB0aW9uIjoiPHA+XHJcblx0XHViM2Q5XHVkNjAxXHVjNzc0XHViMjk0IFx1Yzg3OFx1YzVjNVx1Yzc0NCBcdWQ1NThcdWFlMzAgXHVjNzA0XHVkNTc0IFx1Yzc3Y1x1YmMxOCBcdWQ2NTRcdWQ1NTkgXHVjMmU0XHVkNWQ4XHVjNzQ0IFx1YjRlNFx1YzViNFx1YzU3YyBcdWQ1NWNcdWIyZTQuIFx1YjljOFx1YzljMFx1YjljOSBcdWMyZTRcdWQ1ZDhcdWM3NDAgXHVjNWI0XHViNWE0IFx1ZDYzY1x1ZDU2OVx1YmIzY1x1Y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