#include <bits/stdc++.h>
using namespace std;
string web[110];
int niz[10010];
int main() {
  int n;
  cin >> n;
  int top = n;
  int bot = 1;
  for (int i = 1; i <= n; i++) {
    if (i & 1)
      niz[i] = bot++;
    else
      niz[i] = top--;
  }
  for (int i = 1; i <= n; i++) printf("%d ", niz[i]);
  printf("\n");
  return 0;
}
