for(c<-"="*100;s="="*9+readLine+"="*7)println((9/:1.to(8))((z,i)=>z+(s(z)-c)*i)/15)