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