#include <iostream>

using namespace std;

int main(void)
{
    u_int m, n;
    cin >> m >> n;

    bool suspects[m+1][m+1];
    for (u_int i=0; i<=m; i++)
        for (u_int j=0; j<=m; j++)
            suspects[i][j] = false;

    for (u_int i=0; i<n; i++) {
        int x, y;
        cin >> x >> y;
        suspects[y][x] = true;
    }

    u_int i = 0;
    while (i < m) {
        for (u_int j=1; j<=m; j++) {
            u_int k=0;
            for (k=0; k<=m; k++) 
                if (suspects[j][k])
                    break;

            if (k > m) {
                cout << j << endl;
                i++;
                suspects[j][0] = true;
                for (u_int l=1; l<=m; l++)
                    suspects[l][j] = false;
                break;
            }
        }

    }

    return 0;
}