Heheheheheh.... They didn't bother to check neither all combinations or UEFA rules.
It's an SQL database, so in this case it will be organized by primary key, which means the oldest teams goes through, e.g.:
2nd : Team with ID# 100000234588295
3rd : Team with ID# 100000789456253
Don't forget to buy 1031 tokens, just 99.99€