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