#include <stdio.h>

int main(void) {
	double part, d = 123.456, frac = modf(d,&part);
	printf("%f %f %f",d,part,frac);
	
	return 0;
}
