import sys

for line in sys.stdin:
	sh = "INSERT INTO `W4Library`.`libMain` (`AffiliateID`, `QuickbookID`, `Amount`, `CompanyName`, `WB`, `ContactFirstName`, `ContactLastName`, `Address1`, `Address2`, `City`, `State`, `Zip`, `Country`, `Phone`, `Email`, `TaxStatus`, `TIN_SS`, `W9onFile`, `UniqueGroup`, `Website`, `SiteMkt`, `SiteCat`, `AffMGR`, `ApprovalDate`, `TerminatedStatus`, `SuspendedStatus`) VALUES "
	vsh = ", ".join(['"' + x + '"' for x in line.split()])
	print sh + "(" + vsh + ");"
