long int mulEg(int a,int b) { if ( b==1) return a; if(!(b%2)) return mulEg(2*a,b/2); else return a + mulEg(2*a,(b-1)/2); }