Watch closely and you can see both valves open at the same time at the end of the exhaust stroke and beginning of the induction stroke

engines4stroke4tvalveoverlapslowmotionmechanicsengineering4strokecycleexhaustinduction