#include <bits/stdc++.h>
using namespace std;
const int MAX = 500007, N = 1e6 + 7;
int main() {
  long long int n, help = 1;
  cin >> n;
  for (int i = 1; i <= (n / 2); i++) cout << i << " " << n + 1 - i << " ";
  if (n % 2) {
    cout << (n + 1) / 2;
  }
  cout << "\n";
  return 0;
}
