Will the Apple Pencil work with the iPad Pro 5th generation 10.5 or the iPad Pro 2016 9.7 version?

Will the Apple Pencil work with the iPad Pro 10.5 inches from 2017 or the iPad Pro 9.5 Inches form 2016?

Apple Pencil for iPad Pro

Apple Pencil for iPad Pro

Product No Longer Available

No Answers have been submitted