Yes, you will have to use common sense, because the syntax does not make it clear. Commonsense, however, is certainly on the side of the phrase's referring to all three.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.