If I knew exactly what you're asking I could tell you.
Edit:
I will take a stab in the dark, are you wanting to log what car came in first, second, third etc? if so you could use an array! if this is what you want to know, I can code it for you if you like