#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int n;
  cin >> n;
  int l = 1, r = n;
  while (l <= r) {
    if (l == r)
      cout << l << " ";
    else
      cout << l << " " << r << " ";
    l++;
    r--;
  }
  return 0;
}
