#include using namespace std; int main(){ int A,B,C; cin>>A>>B>>C; int a,b,c,ans; a=abs(A-B); b=abs(A-C); c=abs(B-C); ans=min(min(a,b),c); cout <