#define P printf(
#define L;P"|\n")
#define M;p(18," ")
#define D L;B
#define K;P"\\\n")M;P
#define Q;P"|%59c",32)
#define Z(x,y,z)A(3);a=x;A(15)D(3);P y);B(14)L;p(3,U);P"%c%s",z,u);p(14,U)L;
char*l="HHeLiBeBCNOFNeNaMgAlSiPSClArKCaScTiVCrMnFeCoNiCuZnGaGeAsSeBrKrRbSrYZrNbMoTcRuRhPdAgCdInSnSbTeIXeCsBaLaTaWReOsIrPtAuHgTlPbBiPoAtRnFrRaAcDbSgBhHsMtDsRgCnNhFlMcLvTsOgPrNdPmSmEuGdTbDyHoErTmYbLuPaUNpPuAmCmBkCfEsFmMdNoLr",U[]="|_____",*u=U+1;a;p(n,s)int*s;{while(n--)P s);}A(n){for(n+=a;a<n;)P a++>9?"%c%4d ":"%c%3d ",a^72*a^58?a^90*a^104?'|':47:92,a);}B(n){for(;n--;P"%c ",*l>96?*l++:32))P"|%3c",*l++);}N(){A(18)D(18)L;p(18,U)L;}f(){P" %s%102s\n",u,u);A(a=1);P"|%95c",32);A(1)D(1);P"|%95c",32);B(1)L;P"%s%-67s",U,U);p(29,u+4);P"%s|\n",U);A(2)Q;A(6)D(2)Q;B(6)L;p(2,U)Q;p(6,U)L;A(2)Q;A(6)D(2)Q;B(6)L;P"%s%s|",U,U);p(59,u+4);p(6,U)L;N(N());Z(72,"/ Hf ",92)Z(104,"\\ Rf ",47)P"\n")M;p(84,"_");P"\n")M;a=58;A(14)K"/ Ce ");B(13);P"/\n")M;P"\\%s",u);p(13,U)K"");a=90;A(14);P"/\n")M;P"\\ Th ");B(13)K"/%s",u);p(13,U);P"/");}
main(){f();}
I2RlZmluZSBQIHByaW50ZigKI2RlZmluZSBMO1AifFxuIikKI2RlZmluZSBNO3AoMTgsIiAiKQojZGVmaW5lIEQgTDtCCiNkZWZpbmUgSztQIlxcXG4iKU07UAojZGVmaW5lIFE7UCJ8JTU5YyIsMzIpCiNkZWZpbmUgWih4LHkseilBKDMpO2E9eDtBKDE1KUQo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