How to return both currencies from a liquidity pair?

How can I send the address of an LP contract and return the addresses (and symbols) of the coins which constitute that LP?

Try this.