A motor is an electromechanic device, which is able to both receive as input electrical energy, and output mechanical energy, but also receive mechanical energy, and output electrical energy, as it happens on hydroelectrical usines. This leaves us with answer A) Electrical energy to mechanical energy.