#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, pos, j = 1;
  bool sign = true;
  cin >> n;
  pos = n / 2;
  if (n % 2 == 1) pos++;
  while (abs(j) != n) {
    cout << pos << " ";
    if (sign) {
      pos += j;
      j++;
      j *= -1;
      sign = false;
    } else {
      pos += j;
      j--;
      j *= -1;
      sign = true;
    }
  }
  if (n % 2 == 0)
    cout << n;
  else
    cout << 1;
}
