Solution for online competition on Kaggle.com