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