#include <iostream>
using namespace std;
struct libro
{
string Cod;
string autore;
string titolo;
int pagine;
float costo;
};
libro B[10];
int i;
int main() {
for( i=0; i<3; i++)
{
cin>> B[i].Cod;
cin>>B[i].autore;
cin>>B[i].titolo;
cin>>B[i].pagine;
cin>>B[i].costo;
}
for( i=0; i<3; i++)
{
cout<< B[i].Cod<<"\t";
cout<<B[i].autore<<"\t";
cout<<B[i].titolo<<"\t";
cout<<B[i].pagine<<"\t";
cout<<B[i].costo<<endl;
}
for ( i=0; i<3; i++)
{
cout<<"codice libero"<<B[i].Cod<< "costo per pagina="<<B[i].costo/B[i].pagine<<endl;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwpzdHJ1Y3QgbGlicm8KewoJc3RyaW5nIENvZDsKCXN0cmluZyBhdXRvcmU7CglzdHJpbmcgdGl0b2xvOwoJaW50IHBhZ2luZTsKCWZsb2F0IGNvc3RvOwp9OwpsaWJybyBCWzEwXTsKaW50IGk7CmludCBtYWluKCkgewoJZm9yKCBpPTA7IGk8MzsgaSsrKQoJewoJCWNpbj4+IEJbaV0uQ29kOwoJCWNpbj4+QltpXS5hdXRvcmU7CgkJY2luPj5CW2ldLnRpdG9sbzsKCQljaW4+PkJbaV0ucGFnaW5lOwoJCWNpbj4+QltpXS5jb3N0bzsKCgp9CiAgICBmb3IoIGk9MDsgaTwzOyBpKyspCiAgICB7CgkJY291dDw8IEJbaV0uQ29kPDwiXHQiOwoJCWNvdXQ8PEJbaV0uYXV0b3JlPDwiXHQiOwoJCWNvdXQ8PEJbaV0udGl0b2xvPDwiXHQiOwoJCWNvdXQ8PEJbaV0ucGFnaW5lPDwiXHQiOwoJCWNvdXQ8PEJbaV0uY29zdG88PGVuZGw7CgoKfQoKIGZvciAoIGk9MDsgaTwzOyBpKyspCiB7CiAJY291dDw8ImNvZGljZSBsaWJlcm8iPDxCW2ldLkNvZDw8ICJjb3N0byBwZXIgcGFnaW5hPSI8PEJbaV0uY29zdG8vQltpXS5wYWdpbmU8PGVuZGw7CiB9CQogCXJldHVybiAwOwogCQogfQoKICAgIA==