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