add solution for ValidNumber