#include #define REP(i,n,N) for(int i=(n);i<(int) N;i++) #define RREP(i,n,N) for(int i=N-1;i>=(int) n;i--) #define p(s) cout<<(s)<>x>>y>>z; p(y+(z-x)*(z-y)/(y-x)); return 0; }