#include <iostream>
using namespace std;
int main()
{
double a[1000];
int n=0;
while(1)
{
cin>>a[n];
if(a[n]==999)
{
break;
}
n++;
}
for(int i=0;i<n-1;i++)
{
cout.setf(ios_base::fixed,ios_base::floatfield);
cout.precision(2);
cout<<(a[i+1]-a[i])<<endl;
}
cout<<"End of Output"<<endl;
/*
for(int i=0;i<n;i++)
{
cout<<a[i]<<endl;
}*/
return 0;
}