#include<iostream>
#include<string>
using namespace std;
class book
{
public:
book(int n)
{ qu=n;
price=10*n;
}
void show()
{
cout<<qu*price<<endl;
}
private:
int qu;
int price;
};
int main()
{
book book1[5]={book(1),book(2),book(3),book(4),book(5)};
for(int i=0;i<5;i++)
{
book1[i].show();
}
return 0;
}