#include using namespace std; int N,x,y; bool u = 0; int main(){ cin >> N; x = 0; while(N--){ cin >> y; if(x+1 <= y-1){ cout << x+1 << '-' << y-1 <<'\n'; u = 1; } x = y; } if(x+1 <= 100){ cout << x+1 << '-' << 100 <<'\n'; u = 1; } if(!u) cout << "All clear"; return 0; }