The first line contains a single integer, , denoting the number of email address.
Each line of the subsequent lines contains a name and an email address as two space-separated values following this format:
Print the space-separated name and email address pairs containing valid email addresses only. Each pair must be printed on a new line in the following format:
You must print each valid email address in the same order as it was received as input.
email@example.com is a valid email address, so we print the name and email address pair received as input on a new line. virus!@variable.:p is not a valid email address because the username contains an exclamation point (!) and the extension contains a colon (:). As this email is not valid, we print nothing.