using System;
using System.Collections;
namespace P7_3
{
    class Program
    {
        static void Main()
        {
            byte[] ByteSet = new byte[] { 3,2,1 };
            BitArray bitSet = new BitArray(ByteSet);
            for (int bits = 0; bits <= bitSet.Count - 1; bits++)
            {
                if (bits % 8== 0) Console.WriteLine();
                Console.Write(bitSet.Get(bits) + " ");
            }
             Console.ReadLine();
        }
    }
}
