#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 -> %f, %f\n", s, x1, x2);
    }
    else
    {
        printf("%s: invalid input.\n", s);
    }
}

int main(void)
{
    test_scanf("1495.952 934.023");
}
