#include <iostream>
#include <bitset>
int main() {
// your code goes here
uint8_t byte1 = 0b01010000;
uint8_t byte2 = 0b00001111;
uint16_t data = (static_cast<uint16_t>(byte1) << 8) | byte2;
std::cout << std::bitset<16>(data);
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Yml0c2V0PgoKaW50IG1haW4oKSB7CgkvLyB5b3VyIGNvZGUgZ29lcyBoZXJlCgl1aW50OF90IGJ5dGUxID0gMGIwMTAxMDAwMDsKCXVpbnQ4X3QgYnl0ZTIgPSAwYjAwMDAxMTExOwoJCgl1aW50MTZfdCBkYXRhID0gKHN0YXRpY19jYXN0PHVpbnQxNl90PihieXRlMSkgPDwgOCkgfCBieXRlMjsKCQoJc3RkOjpjb3V0IDw8IHN0ZDo6Yml0c2V0PDE2PihkYXRhKTsKCQoJcmV0dXJuIDA7Cn0=