#define _CRT_SECURE_NO_WARNINGS

#include <cstdio>
#include <cstring>

using namespace std;

#define loop(i,a,b) for(int i=(a);i<int(b);i++)
#define rep(i,b) loop(i,0,b)

int const inf = 1 << 29;

int m, n;
bool g[21][21];
int c;
int a[21];
bool vis[21];

void solve(int v){
    vis[v] = true;
    rep(i, m){
        if (!vis[i] && g[v][i])solve(i);
    }
    a[c++] = v;
}

int main(){
    scanf("%d%d",&m,&n);
    rep(i, 21)rep(j, 21)g[i][j] = false;
    rep(i, 21)vis[i] = false;
    rep(i, n){
        int x, y; scanf("%d%d",&x,&y);
        x--; y--;
        g[x][y] = true;
    }
    c = 0;
    rep(i, m)if (!vis[i])solve(i);
    rep(i, m)printf("%d\n", a[m - i - 1] + 1);
}