#include #define rep(i,n) for (int i=0; i<(n); ++i) using namespace std; using ll=long long; int main(){ int a,b,c; cin>>a>>b>>c; int x1=abs(a-c); int x2=abs(a-b); int x3=abs(b-c); int ans=min(x1,min(x2,x3)); cout<