As written, this question is difficult to answer. Semantically, the oxygen atoms are bases (as written). Secondly, this problem raises another problem. A beta-keto aldehyde is normally found as its enol (and thus an acid). A nitro group will greatly increase the acidity. Sodium borohydride will react with a carboxylic acid to form hydrogen gas and the salt of the acid. If this reaction were to occur in this case, it would not reduce the aldehyde, but simply form a salt.
Let us assume that was not anticipated. In that case, I would expect the carbonyl groups to be reduced in the following order: 6>5>4>3>2>1. My prediction is based upon carbonyl reactivity. As electron density is removed from a carbonyl group by a halogen (acid chloride) or increased by a nitrogen (a carboxamide), the carbonyl reaction is increased or decreased, respectively. I am guessing on the effect of the amino group for 1, 2, and 3. An amino group is a slightly better electron withdrawing group than a hydrogen (pKa of ammonia, ~38, hydrogen ~36). However, because the amino groups are basic, they may (and should be) protonated. If they are ammonium groups, they will also activate the carbonyl groups relatively to a hydrogen. (If the nitrogen atoms are not protonated, they will condense with the carbonyl groups. That could be avoided by making them dimethylamino groups.)