Enter the amount on either line 51 or 52 on the Arizona 2917 form 140. Choose the line with the description, "Balance of tax".
I am sorry to not be certain, but Arizona has removed all of its 2017 forms from its website so I can't doublecheck the line right now. (it is line 52 for 2018 but was line 51 for 2016).
In any case, pick the amount for the line with the phrase "Balance of tax".