#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, x = 1, y = 0;
  cin >> n;
  y = n;
  long long count = 0;
  if (n == 2) {
    cout << 1 << " " << 2 << endl;
  }
  if (n == 1) {
    cout << 1 << endl;
  } else if (n % 2 == 0 && n != 2) {
    while (true) {
      cout << x << " " << y << " ";
      x++;
      y--;
      count = count + 2;
      if (count == n - 2) {
        cout << x << " " << y << endl;
        break;
      }
    }
  } else if (n % 2 != 0) {
    while (true) {
      cout << x << " " << y << " ";
      x++;
      y--;
      count = count + 2;
      if (count == n - 1) {
        cout << x << endl;
        break;
      }
    }
  }
  return 0;
}
