State tax filing

What about  if Example 1 has K-1 for state B and C:

Example 1:

I live in state A, the LLC is registered in state B, it owns an apartment complex in state C. It's not a publicly-traded company. The K-1 HAS  "state K-1" forms for state B and C. The K-1 shows a profit for this year.

 

Where should I file?