#include<iostream>
#include<vector>
#define loop(i,a,b) for(int i=a;i<b;i++)
#define rep(i,a) loop(i,0,a)
#define INF 1e6
#define pb push_back
using namespace std;

bool list[21][21];
int incnt[21];
int used[21];

int main(){
	int m,n,a,b;
	cin>>m>>n;
	rep(i,m+1){
		rep(j,m+1)list[i][j]=false;
		incnt[i]=used[i]=0;
	}
	rep(i,n){
		cin>>a>>b;
		list[b][a]=true;
		incnt[a]++;
	}
	vector<int> ans;
	int now=-1;
	while(1){
		now=-1;
		loop(i,1,m+1)if(incnt[i]==0 && !used[i])now=i;
		if(now==-1)break;
		used[now]=true;
		ans.pb(now);
		loop(i,1,m+1)if(list[now][i]){
			list[now][i]=false;
			incnt[i]--;
		}
	}
	for(int i=ans.size()-1;i>=0;i--)cout<<ans[i]<<endl;
	return 0;
}