Machine can be used for Print. Print is the opposite of Input. 
you would Learn because Human. you are likely to find Human in/at/on Bathroom. you are likely to find Bathroom in/at/on Gym. Gym is related to Workout. 
Machine --UsedFor--> Print <--Antonym--> Input 
Learn --MotivatedByGoal--> Human --AtLocation--> Bathroom --AtLocation--> Gym <--RelatedTo--> Workout 