#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a[10100], l, r;
  cin >> n;
  l = 1;
  r = n;
  for (int i = 1; i <= n; i++)
    (i % 2) ? cout << l++ << " " : cout << r-- << " ";
  cout << endl;
}
