#include <bits/stdc++.h>
#pragma optimize("Ofast")
using namespace std;
using ll = long long;
const int N = 1e5 + 5;
int main() {
  ios_base::sync_with_stdio(0);
  int n;
  cin >> n;
  for (int i = 1; i <= n / 2; ++i) cout << i << ' ' << n - i + 1 << ' ';
  if (n & 1) cout << n / 2 + 1 << "\n";
  return 0;
}
