A planet in the shape of a bean orbiting a blue star