#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  cout << 1;
  int k = 1;
  int d = 1;
  for (int i = n - 1; i >= 1; i--) {
    k += i * d;
    d *= -1;
    cout << ' ' << k;
  }
  cout << endl;
  return 0;
}
