#include <stdio.h>
int main()
{
int i, n;
printf("Enter the value of n : ");
scanf("%d", &n);
printf("Number Square Cube
");
for (i = 1; i < n + 1; i++)
{
printf("%d %d %d
", i, i * i, i * i * i);
}
return 0;
}