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