#include <iostream>
using namespace std;

int main() {
    int a[5] = {};
    int c = 0;
    while (c < 5) {
        int n;
        cin >> n;
        bool f = false;
        for (int i = 0; i < c; i++)
            if (a[i] == n)
                f = true;
        if (f)
            cout << "Please re - enter since the added number is repeated:" << endl;
        else
            a[c++] = n;
    }
    for (int i = 0; i < c; i++)
        cout << a[i] << ' ';
}