Decide from the context and endings if the prepositional phrase is in the accusative (->) or dative (X) of location.