Not only is A the best response, it's the only one that makes any sense at all. An argument could be made for C if it had been "Goodbye. It was good to see you" but as it stands it doesn't work. B is nonsense. Apart from anything else, if the second speaker's name is Mary, she wouldn't introduce herself as Maria!