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