#include <bits/stdc++.h>
using namespace std;
int main(int argc, char** argv) {
  int size;
  int c = 1;
  bool add = true;
  cin >> size;
  cout << c << " ";
  size--;
  while (size > 0) {
    if (add) {
      c = c + size;
      add = false;
    } else {
      c = c - size;
      add = true;
    }
    cout << c << " ";
    size--;
  }
  return 0;
}
