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

int main() {
	double temp,max=0,min=9999;
	while(cin>>temp){
		if(temp>max) max=temp;
		if(min>temp) min=temp;
	} printf("%.1f",max-min);
	return 0;
}