#include <iostream>
#include <list>
#include <map>
#include <afxwin.h>
using namespace std;
typedef struct _A1
{
char b;
double a;
char c;
}A1;
typedef struct _A2
{
char b;
double a;
char c;
int d;
}A2;
typedef struct _A3
{
char b;
char c;
double a;
}A3;
typedef struct _A4
{
char b;
double a;
char c;
char d;
char e;
int f;
}A4;
typedef struct _A5{
char a[3];
int b;
char c;
char d;
}A5;
typedef struct _A6{
char a[5];
int b;
char c;
char d;
}A6;
int main ()
{
cout << sizeof(A1)<< endl;
cout << sizeof(A2)<< endl;
cout << sizeof(A3)<< endl;
cout << sizeof(A4)<< endl;
cout << sizeof(A5)<< endl;
cout << sizeof(A6)<< endl;
return 0;
}