Solve #120 in scala