#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n;
  cin >> n;
  int mc = 0, i = 1, j = n;
  while (1) {
    cout << i << " ";
    mc++;
    if (mc == n) break;
    cout << j << " ";
    i++;
    j--;
    mc++;
    if (mc == n) break;
  }
  cout << endl;
  return 0;
}
