#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  int n, i, a = -1, m;
  cin >> n;
  m = (n + 1) / 2;
  for (i = 0; i < n; i++) {
    m = m + i * a;
    cout << m << ' ';
    a *= -1;
  }
  return 0;
}
