#include using namespace std; #define int long long #define pb push_back #define fi first #define se second #define rep(i,s,n) for(int i = s;i=(s);i--) #define all(v) (v).begin(),(v).end() #define chmin(a,b) a=min((a),(b)) #define chmax(a,b) a=max((a),(b)) #define endl '\n' #define IOS() ios_base::sync_with_stdio(0);cin.tie(0) typedef long long ll; typedef pairpint; typedef vectorvint; typedef vectorvpint; const ll MOD=1000000007,INF=1ll<<60; int dx[]={0,0,1,-1},dy[]={-1,1,0,0}; typedef pairP2; int N,M; signed main() { IOS(); cin>>N>>M; int tmp=0,cnt=0; rep(i,0,N){ int a; cin>>a; if(a%2){ cnt++; tmp+=a; }else{ if(cnt>=M){ cout<=M){ cout<