#include <stdio.h>

int main(){

    int a[10];
    int b[10];
    int c[20];
    int i;

    srand(time(NULL));

    for(i = 0; i < 10; i++){
        a[i] = rand()%101;
    }
    for(i = 0; i < 10; i++){
        b[i] = rand()%101;
    }

    memcpy(c, a, 10 * sizeof (int));
    memcpy(c + 10, b, 10 * sizeof (int));
    
    for(i = 0; i < 20; i++){
	printf("%d\n", c[i]);
    }

}