The problem: Yakko rolls Y, Wakko rolls W. Dot will roll a fair six-sided die. Dot wins if her roll is greater than or equal to the maximum of Y and W? Actually the problem says: "the one with the highest amount of points will be the winner, and will take the other two to the place of his/her dreams." And then: "if they have the same amount of points with Dot, they will let Dot win." That means if Dot's roll is equal to the highest among Yakko and Wakko, Dot wins (since gentlemen let her win). But careful: "if they have the same amount of points with Dot, they will let Dot win." That likely means if Dot's roll equals the highest score among the three? Or maybe if she ties with either Yakko or Wakko? Let's interpret: Yakko and Wakko are gentlemen. So if Dot's roll ties with either of them, they will let her win. But what about if Yakko and Wakko have different scores? The rule for winner is: the one with the highest amount of points wins. Usually ties might be broken? But they say: if they have the same amount of points with Dot, they will let Dot win. This suggests that if Dot's score equals the highest among the others, she wins. But if Yakko and Wakko both have same score and it's higher than Dot's? Then Dot does not win. Or if one is higher than Dot but the other is lower, then Dot does not win because highest is not Dot. But the phrase "they have the same amount of points with Dot" could be interpreted as: if either Yakko or Wakko have the same points as Dot, they let her win. But the overall rule says the highest amount wins. So if Dot's roll is 5, Yakko 5, Wakko 3, then the highest is 5. There is a tie for highest between Dot and Yakko. According to gentlemen rule, Yakko lets Dot win, so Dot wins. If Dot's roll is 5, Yakko 5, Wakko 5, all three tie. The highest is 5, and gentlemen let Dot win, so Dot wins. If Dot's roll is 5, Yakko 6, Wakko 3, the highest is 6 (Yakko) so Dot does not win.
Alternatively, if Dot's roll equals the maximum of Y and W, then she wins because she either ties with the max, and the gentlemen let her win. If her roll is less than max(Y, W), then she loses because the max is higher. So essentially Dot wins if her roll >= max(Y, W). But careful: if max(Y, W) is 6, then she must roll 6 to win? Actually if she rolls 6, it's >=6, wins. If she rolls 5 when max=6, then 5<6 so loses. So indeed condition: Dot wins if roll >= M, where M = max(Y, W). Given that dice is uniform 1..6.
Thus probability = number of outcomes in {M, M+1, ..., 6} divided by 6. That is (6 - M + 1) / 6 = (7 - M) / 6.
But need to output as irreducible fraction. So compute numerator = 7 - M, denominator = 6, reduce by gcd.
Edge cases: if M > 6? Not possible because Y,W are from 1 to 6 (natural numbers, die results). So M is between 1 and 6. If M = 1, then probability = 6/6 = 1 => output "1/1". If M = 6, probability = 1/6, irreducible. If M = 7? Not possible.
But check example: Input 4 2 -> max=4, probability = (7-4)/6 = 3/6 = 1/2. matches.
Thus solution: read Y and W, compute M = max(Y,W), numerator = 7-M, denominator = 6, g = gcd(numerator, denominator), output numerator/g / denominator/g.
If numerator = 0? That would be when M = 7, impossible. But if M = 7, numerator=0, probability 0, output "0/1"? But not needed per constraints. However we can still handle: if numerator <= 0, treat as 0? But ensure correct.
Make sure to reduce fraction properly.
So solution is straightforward.
But the problem statement says: "if they have the same amount of points with Dot, they will let Dot win." That might also be interpreted as: if Dot's roll equals Yakko's or equals Wakko's, they let her win, meaning if she ties with either of them individually, she wins. But that interpretation could change outcome when Y != W. For example, Y=6, W=2, M=6. Under condition "roll >= M", Dot needs 6. Under alternative interpretation: if Dot rolls 2, she ties with Wakko (2) and Wakko lets her win? But then the highest amount of points is 6 (Yakko) which is higher than Dot's 2. The rule "the one with the highest amount of points will be the winner" implies that the winner is the person with the highest points. If there is a tie for highest, then more than one have highest, and then gentlemen rule might decide. But if Dot's roll is 2, the highest is 6 (Yakko). So winner is Yakko, not Dot. The gentlemen rule only applies if they have the same amount of points as Dot. That would be Wakko (2) equals Dot, but they are not the highest; Dot is not highest. So Dot does not win. So the original interpretation stands. So it's clear: Dot wins if her roll is at least max(Y,W). That's standard for many Codeforces problem "Die Roll" etc. In fact this is from Codeforces problem 9A? Actually known as "Die Roll" problem 9A.
Thus solution is simple.
Implement in code.
Now, write final answer: explanation of logic and code.
We should produce Python code that reads two ints, computes M, then fraction.
But the problem is from an online judge? Likely we just need solution. In the answer, I should provide a