#include <iostream>
#include <algorithm>
using namespace std;
long long int merge(long long int *list,long long int op,long long int ed){
if(op==ed)return0;
long long int counter =0;
counter+=merge(list,op,(op+ed)/2);
counter+=merge(list,(op+ed)/2+1,ed)