Solution for problem [Gas Station]