B:明码
#include <iostream>
#include <bitset>
#include <cstdio>
using namespace std;
int main()
{
int n;
int cnt = 32;
bitset<8> t;
int c = 0;
while (1) {
while (cnt--) {
cin >> n;
t = n;
string res = t.to_string();
for (int i = 0; i < res.size(); i++) {
if (res[i] == '1') cout << '*';
else cout << ' ';
}
c ++;
if (c % 2 == 0) cout << endl;
}
cnt = 32;
}
}