Electron and Cooper-pair transport across a single magnetic molecule explored with a scanning tunneling microscope