#include using namespace std; int main(){ int n,i; cin >> n; int height[20]; for(int i=0;height[i]> height[height[i]]; } cout<