add solution for `Valid Number`