#include #include using namespace std; int main(){ int input_num; cin >> input_num; int sum; cin >> sum; int array[input_num]; for(int i=0;i> array[i]; } long output = 0; unordered_map map; for(int i=0;i= 1) map[array[i]] += 1; else map[array[i]] = 1; } for(int i=0;i