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