#include <iostream>
#include <bitset>

using namespace std;

int main()
{
    unsigned char ip[4] = { 192, 168, 0, 1 };
    for(int i = 0; i < 4; ++i)
        cout << bitset<8>(ip[i]) << " ";
    cout << endl;
}
