The solar wind interaction with Mars as seen by the Viking retarding potential analyzers