#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int l = 1, r = n;
  for (int i = 1; i <= n; i++) {
    if (i % 2 == 1 && l <= r) {
      cout << l << " ";
      l++;
    }
    if (i % 2 == 0 && l <= r) {
      cout << r << " ";
      r--;
    }
  }
}
