So, if you're a male, you say obrigado, and if you're a female, you say obrigada – regardless of who you're talking to.