a
=11,c
,d
;main
(b
){char s
[a
];read
(0,s
,a
);for(;a
--;b
+=s
[a
]);for(;s
[d
]!=46;d
="-H$6 QZ"[c
]/9,c
++);s
[d
]=111+b
/69%2*9;puts(s
);}
YT0xMSxjLGQ7bWFpbihiKXtjaGFyIHNbYV07cmVhZCgwLHMsYSk7Zm9yKDthLS07Yis9c1thXSk7Zm9yKDtzW2RdIT00NjtkPSItSCQ2CVFaEiJbY10vOSxjKyspO3NbZF09MTExK2IvNjklMio5O3B1dHMocyk7fQ==