read a; echo "${a}sM2017dlM%st[rq]sy[lt*lM%r1-d1=yrllx]sl2*ltllxlt+lM%n10P" | dc