#include <iostream>
#include <iomanip>
using namespace std;
int main() {
// Header tabel
cout <<"--------------------------------------"<<endl;
cout << "No" << setw(3) << "A" << setw(3) << "B"
<< setw(5) << "A*A" << setw(5) << "B*B" << endl;
cout <<"--------------------------------------"<<endl;
// Data rows
for (int i = 1; i <= 10; i++) {
int A = 2 * i;
int B = 3 * i + 1;
int A2 = A * A;
int B2 = B * B;
cout << setw(2) << i << setw(3) << A << setw(3) << B
<< setw(5) << A2 << setw(5) << B2 << endl;
}
// Garis pemisah dan identitas
cout << "-------------------------------------" << endl;
cout << "Nama : Farrel Adhysta Pradana" << endl;
cout << "Nim : 3420240008" << endl;
return 0;
}