Some code for the Avito competition