#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int l = 1, r = n, i = 0;
  while (l <= r) {
    if (i % 2 == 0) {
      cout << l << " ";
      l++;
    } else {
      cout << r << " ";
      r--;
    }
    i++;
  }
  cout << endl;
  return 0;
}
