#include <cstdio>
using namespace std;

bool a[21][21];
bool b[21];
int c[21];

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

  scanf("%d", &m);
  scanf("%d", &n);

  for (int i=1; i<=m; i++) c[i] = 0;
  for (int i=1; i<=m; i++) b[i] = false;

  for (int i=1; i<=m; i++) {
    for (int j=1; j<=m; j++) {
      a[i][j] = false;
    }
  }
  for (int i=0; i<n; i++) {
    scanf("%d %d", &x, &y);
    a[x][y] = true;
    c[y]++;
  }
  for (int i=1; i<=m; i++) {
    if (!a[i][2] && i!=2) {
      a[i][2] = true; // tama
      c[2]++;
    }
  }

  for (int i=0; i<m; i++) {
    x = 1;
    while (b[x]||c[x]) x++;
    for (int j=1; j<=m; j++) {
      if (a[x][j]) --c[j];
    }
    b[x] = true;
    printf("%d\n", x);
  }

  return 0;
}