#include using namespace std; #define lli long long int #define REP(i,s,n) for(int i=s;i>a>>b>>c; if(c>a)swap(a,b); if(a==c){ cout<<0<