Project for LVIV Computer Csience and Information Technologies olimpiad by Sergey Dubovyk.