
#include <iostream>
#include <vector>
using namespace std;

double maxdev(vector<double>::const_iterator ini,
              vector<double>::const_iterator fin);


int main() {
   double d;
   vector<double> v;
   while (cin >> d) v.push_back(d);
   cout << maxdev(v.begin(), v.end()) << endl;
}
