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