#include using namespace std; typedef long long ll; int main() { int n; cin>>n; int dp[100*n+1]{1}; int a[n]; for (int i=0;i>a[i]; int sum=0; for (int i=0;i