float a,i,o;main(e){for(;~scanf("%f%f%f",&i,&o,&a);puts(""))for(;(i+=a)+.01