File standardInput readLines map(split)map(a,a first toBase(a last asNumber)println)