while(a:?read\-line(?-,?-,~))#~do(b:0,for c in charlist(a)do(b:b+fix(mod(9964,cint(c))/24)),dispterms(b));