#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, c = 0;
  vector<int> v;
  vector<int>::iterator it;
  cin >> n;
  for (int i = 1; i <= (n / 2) + 1; i++) {
    v.push_back(i);
    v.push_back(n - i + 1);
  }
  v.pop_back();
  for (it = v.begin(); it != v.end(); it++) {
    cout << *it << " ";
    c++;
    if (c == n) break;
  }
  cout << endl;
  return 0;
}
