Abych byl spravedlivý, s tímto algoritmem NIKDO SE NEDÍVÁ