#include <iostream>
using namespace std;

struct A
{
	int8_t a;	//only 4 bit
	int16_t b;	//only 10 bit
};

struct B
{
	int8_t a:4;	//only 4 bit
	int16_t b:10;	//only 10 bit
};

struct C
{
	int16_t a:4;	//only 4 bit
	int16_t b:10;	//only 10 bit
};

int main()
{
	cout<<sizeof(A)<<endl;
	cout<<sizeof(B)<<endl;
	cout<<sizeof(C)<<endl;
}