A man pulls out a cup from the machine after it makes a beep.