If you are not sure of which cable you require, there is an easy way to find out if you look into the socket. If it is just a hole then you require a male cable. If it is a hole with a small pen inside the middle then it is a female cable you require.
eBay