#include <bits/stdc++.h>
using namespace std;
int n, f = 1, a[10010], m;
string s;
char x[40000];
int main() {
  cin >> n;
  m = n;
  for (int i = 1; i <= n; i++) a[i] = i;
  while (f <= m) {
    if (f % 2 == 1)
      cout << a[f / 2 + 1] << " ", f++;
    else
      cout << a[m - f / 2 + 1] << " ", f++;
  }
  return 0;
}
