Earth and Jupiter as viewed from Mars