c#include <bits/stdc++.h> using namespace std; int theater[1001][5001]; int main(){ cin.tie(NULL); cout.tie(NULL); ios_base::sync_with_stdio
#include <bits/stdc++.h> using namespace std; int theater[1001][5001]; int main(){ cin.tie(NULL); cout.tie(NULL); ios_base::sync_with_stdio