Consider the data type Carte, defined as follows:
struct Carte {
char titlu[60];
char autor[60];
int an;
};where titlu and autor are each a single word (no spaces), and an is the publication year.
Read from standard input a natural number n and a year y, then the data for n books. Print on the first line the number of books published strictly before year y, and on the following lines those books, in the order they were read, one per line, in the format titlu autor an.