#include <stdio.h>
#include <float.h>
#include <math.h>
 
static void test_scanf(const char *s)
{
    double x1, x2;
 
    if ((sscanf(s, "%lf %lf", &x1, &x2)) == 2)
    {
        printf("%s: %e, %e (exponential form)\n", s, x1, x2);
        printf("    %g %g\n", x1, x2);
        printf("    %.7g %.7g\n", x1, x2);
    }
    else
    {
        printf("%s: invalid input.\n", s);
    }
}
 
int main(void)
{
    test_scanf("6369.015 66159.129");
}
 