#include <iostream>
#include <vector>
using namespace std;

struct edge { int from, to; };
vector<edge> E;

int main() {
	int m, n, x, y;
	cin >> m >> n;

	int c[21] = {};
	for (int i=0; i<n; ++i) {
		cin >> x >> y;
		E.push_back((edge){x, y});
		c[y] ++;
	}

	for (int i=0; i<m; ++i) {
		for (int j=1; j<=m; ++j) {
			if (c[j] == 0) {
				cout << j << endl;
				c[j] = 1e8;
				for (int k=0; k<n; ++k) {
					c[E[k].to] -= (E[k].from == j);
				}
				break;
			}
		}
	}
	return 0;
}