This question already has an answer here:
I was talking about this with a friend yesterday, though the actual example was "thou and I", which sounded weird. I thought it should be "thee and I", due to "I" being a subject pronoun. I eventually conceded, but I'm still not sure - could you say (arguably) that "thou/you", when paired with "I", is an object? Or are they still both subjects?
Similarly, is "it" still the subject in a sentence like "the dog and it"?