static void Main(string[] args) { Bits b = new Bits(); b.InputList(); b.CalcAllCases(); b.OutputResult(); }