Solved Gas Station with N space