Bryan owns a pet store. He puts one parrot in per cage, he has one parrot extra. If he puts two parrots per cage, he has a cage extra. How many parrots and cages does he have?