#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 1, M = 1e7, OO = 0x3f3f3f3f;
const long long int MOD = 2e9 + 7;
int main() {
  int n, x;
  cin >> n;
  x = n;
  for (int i = int(1); i <= int(n / 2); i++) {
    cout << i << " " << x-- << " ";
  }
  if (n % 2) cout << n / 2 + 1;
  return 0;
}
