Deductions & credits

Thanks @pk @MarilynG1 

Follow up just to clarify.

My Fidelity brokerage account has dividends from 3 countries and they have given mentioned the dividends and the foreign tax deducted in 3 different lines in the statement. In this case, is it acceptable if I combine them under the country various and report one line item with dividends/foreign tax deducted?