1. Remove the <> after LOOP
2. Use : in a := 1 in first loop.