#include <iostream>
#include <vector>
#include <algorithm>
struct Event {
int x;
int y_low;
int y_high;
int type;
};
struct Node {
int count;
long long covered_length;
};
stdvector<int> all_y;
stdvector<Node> tree;
void push_up(int node_index, int l, int r) {
if (tree[node_index].count > 0) {
tree[node_index].covered_length = all_y[r + 1] - all_y[l];
} else if (l == r) {
tree[node_index].covered_length = 0;
} else {
tree[node_index].covered_length = tree[node_index * 2].covered_length + tree[node_index * 2 + 1].covered_length;
}
}
void update(int node_index, int l, int r, int update_l, int update_r, int val) {
if (l > update_r || r < update_l) {
return;
}
if (l >= update_l && r <= update_r) {
tree[node_index].count += val;
} else {
int mid = l + (r - l) / 2;
update(node_index * 2, l, mid, update_l, update_r, val);
update(node_index * 2 + 1, mid + 1, r, update_l, update_r, val);
}
push_up(node_index, l, r);
}
void solve() {
int n;
std::cin >> n;
}
int main() {
stdios_basesync_with_stdio(false);
std::cin.tie(NULL);
solve();
return 0;
}