#include <stdio.h>
#include <stdlib.h>
#define A "2 4 6 8 10 "
#define B "12 14 16 18 20 "
#define C "22 24 26 28 30 "
#define D "32 34 36 38 40 "
#define E "6 16 26 36 "
int main()
{
    puts(A);
    puts(B);
    puts(C);
    puts(D);
    puts(E);
    return 0;
}