How to enter Schedule K-3 Line 24 & 54 information

In the Step-by-Step questionnaire it asks "On your Schedule K-3, go to Part II, Section 1, Line 24 to fill out the information below". It then asks for "Foreign Gross Income - Gross income sourced at the partner level (Column F)".

 

My Line 24 has a total amount , an amount for the US and and amount for CA

Should I enter the total amount or just the amount representing the foreign country (CA)?

 

The next step asks for information from Line 54 regarding deductions. But this time it doesn't ask for "Foreign" deductions. It just says "Deductions allocated at individual level - Other (Column F...)".  Am I supposed to separate out the foreign components or just put the total amount.

 

This is a bit confusing. Thanks for any help...