give stre queryip return ipv4 IP valid ipv4 address ipv6 IP valid ipv6 address neither IP correct IP typea valid ipv4 address IP form x1x2x3x4 0 xi 255 xi contain lead zero for example 19216811 19216810 valid ipv4 address 192168011 192168100 19216811 invalid ipv4 addressesa valid IPv6 address IP form x1x2x3x4x5x6x7x8 where1 xilength 4xi hexadecimal string contain digit lowercase english letter f uppercase english letter a FLeading zero allow xiFor example 20010db885a3000000008a2e03707334 2001db885a3008a2e03707334 valid ipv6 address 20010db885a38a2e037j7334 020010db885a3000000008a2e03707334 invalid ipv6 address Example 1Input queryip 172162541output ipv4explanation this valid ipv4 address return ipv4example 2input queryIP 20010db885a3008a2e03707334output ipv6explanation this valid ipv6 address return ipv6example 3input queryip 256256256256output NeitherExplanation this ipv4 address ipv6 address constraintsqueryip consist english letter digit character