import std.algorithm, std.conv, std.range, std.stdio, std.string; import std.bitmanip; // BitArray void main() { int n, k; read2(n, k); auto a = readArrayM!int(n); auto ans = 0; foreach (i; 0..1<