Atletico Madrid striker Diego Costa admits he would be open to representing either Spain or Brazil at international level.