while 1 {puts [expr [string map ,\ * [gets stdin]]]}