Play around with Sheldon Brown's gear calculator and find which ratio matches your desired cadence with the speed you are able to maintain on those climbs.
https://www.sheldonbrown.com/gear-calc.html
And as mentioned above, consider your derailleur's capacity, but you can always change components as needed. It just takes $$$.