Jupiter as a ham sandwich