"Qual Div and LT Cap Gains" for form 1116 Vanguard Foreign tax credit

Dear experts,

 

Should I enter "QDI eligible foreign income" for "Qual Div and LT Cap Gains" for Vanguard or should I enter the value TT prompts as "Form 1116 (COPY 1)--- Foreign Tax Credit Comp Wks: Qual Div and LT Cap Gains should not be larger than the unadjusted gross income for this cateogy

 

Qual Div and LT Cap Gains:$XXXX

In my "2019 Foreign tax Paid" form from Vanguard , QDI eligible foreign income= $YYYY

 

I am super confused if I should enter XXXX or YYYY or something else..

 

Or should I use RIC instead of Various for country? In that case, it doesn't seem to ask me any questions. Is that accurate?

 

Thanks so much for your help!