Solution for consecutive problem