#include <iostream>
using namespace std;

int main() {

    int arr[6] = { 0 };
    int* ptr = arr;

    int len = sizeof(arr) / sizeof(int);

    for (int i = 0; i < len; i++) {
        cin >> arr[i];
    }

    // write your code here......
    while(*ptr!='\0'){
        cout<<*ptr<<" ";
        ptr++;
    }

    return 0;
}