Shortest Path Problem with Forbidden Paths: the Elementary Version