#include <stdio.h> int main() { float f; while(fscanf(stdin,"%f%*f%*f",&f)==1) printf("%f\n",f); return 0; }
1 456 54645 2 564 65756 3 5 76788 4 56765756 786 5 778678 76876
1.000000 2.000000 3.000000 4.000000 5.000000
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!