(pr:cut(coerce(+ 256(apply *(map[int _ 2](tokens(readline)#\,))))'string 2)1)