How to input multiple notes on a staff with different durations

See Voices