#include //#include //using namespace atcoder; using namespace std; typedef long long ll; typedef unsigned long long ull; typedef long double ld; #define pii pair #define pll pair #define rep(i,num,n) for(int i=num;i<(int)(n);i++) //for_loop #define REP(i,n) for(int i=0;i<(int)(n);i++) #define rrep(i,num,n) for(int i=num-1;i>=(int)(n);i--) //reverse_for> #define in(x,a,b) (a<=x && xb){a=b;return true;}return false;} bool chmax(ll &a,ll b){if(ab){a=b;return true;}return false;} bool chmax(int &a,int b){if(a>n>>m; vectora(n); rep(i,0,n)cin>>a[i]; vectorans; rep(i,0,n){ if(a[i]%2==1){ int cnt=0; ll sm=0; while(a[i]%2==1){ sm+=a[i]; i++; cnt++; } if(cnt>=m)ans.push_back(sm); } } for(auto a:ans)cout<