puts'?0 0?1 0!' $>.flush t,u=$<.map &:to_i p a=t-u+1>>1,Math.sqrt(t-a*a)