const?char?XING?=?'#';
int?main()
{
for?(int?i?=?0;?i?<?4;?++i) { for?(int?k?=?i;?k?<?3;?++k) {cout?<<?"?";
} for?(int?j?=?0;?j?<=?i;?++j) { cout?<<?XING?; } cout?<<?"?"; for?(j?=?0;?j?<=?i;?++j) { cout?<<?XING?; } cout?<<?endl; } for?(i?=?4;?i?>?0;?--i) { for?(int?k?=?4;?k?>?i;?--k) {cout?<<?"?";
} for?(int?j?=?i;?j?>?0;?--j) { cout?<<?XING?; } cout?<<?"?"; for?(j?=?i;?j?>?0;?--j) { cout?<<?XING?; } cout?<<?endl; } return?0;}