c#include <bits/stdc++.h> using namespace std; bool dp[2001][2001]; int arr[2001]; int main(){ cin.tie(NULL); cout.tie(NULL)
#include <bits/stdc++.h> using namespace std; bool dp[2001][2001]; int arr[2001]; int main(){ cin.tie(NULL); cout.tie(NULL)