Sql Basic Certification Hackerrank Solution In Python Input