for(int i:stdin)write(format("digital_root(%d)=",i),9+i%-9);