#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int left = 1;
  int right = n;
  if (n == 1) {
    cout << 1 << endl;
    return 0;
  }
  cout << left << " " << right << " ";
  ++left;
  --right;
  while (left < right) {
    cout << left << " " << right << " ";
    ++left;
    --right;
  }
  if (left == right) cout << left;
  cout << endl;
}
