Processing math: 100%

Problem #203

Couples

Swegwan is getting more naughty day by day. Recently he has come to know about the new variety of Sal trees that can share emotions. So he is highly excited about making their couples. He is God so he knows the tree's gender. Because he has enough free time he counts the number of male and female Sal trees now and then. Since it's very hard to know the exact positioning help him find the expected number of probable couples p. Every adjacent male and a female tree is a probable couple for Swegwan. According to him, there are 6367 male trees and 6571 female trees (all planted in a row).

For example, MT FT MT FT has 3 probable couples.

Give your answer as [p*10^4].

[x] is the greatest integer \leq x.

Contributed by Swapnil Negi

Solved by 24 users

Log in to submit answers.

Is something wrong?

Maintaining a collection of high quality questions is our top priority. If, however, you do find an error, report the problem and we'll make sure it is reviewed soon.