Write a C program, that reads messages from an input file (or stdin) and verifies whether the messages are valid or not.
Input file:
E201022011101F P P