def f(a,b,c): if a!=b and b!=c and c!=a: if (b>a and b>c) or (b