Please enter your email address or userHandle.
Given an number. The task is to tell whether the number is valid indian mobile number or not. Print "Valid" if it is a valid indian mobile number, otherwise print "Invalid".
Rules for valid :-indian mobile number
The first line contains a single integer T i.e. the number of test cases. Each test case contains a single number(N) in string representing a mobile number
Corresponding to each test case, print "Valid" if inumber is valid indian mobile number otherwise printf "Invalid" on a new line.
10<= |N| <= 12
here |N| denotes the size of number string.
We strongly recommend solving this problem on your own before viewing its editorial. Do you still want to view the editorial?
Login to access your submissions.
Please choose 'ReadOnlyMode' if you needn't to 'Edit' the problem e.g. viewing OJ's solution, TestCase Files (TCFs), TimeLimit etc.