Notes after Serbian words (B, S), (B) etc

Hey guys - just wondering what this means please, is it to do with tense, gender?

Really bothering me when it means getting words wrong when the translation is one thing, although the letters in brackets afterwards aren’t actually informative (at least in that I don’t know what they mean)

I think I figured it out - Bosnia / Serbia / Croatia? Please confirm if this is correct please…