Rewrite the following code in python after removing all syntax error(s). Underline each correction done in the code.
for Name in [Amar, Shveta, Parag]
IF Name[0]='S':
print(Name)
for Name in [ 'Amar','Shveta','Parag']:
if Name[0] == 'S':
print(Name)