2 1 3 RS RP RR RS
3 3 3 0 1 0 0 1 0 Aoki chooses the strategy `RS`. If Snuke chooses the strategy `RP`, the strategies that can meet Takahashi's objective are `PP`, `PR`, `PS`. If Snuke chooses the strategy `RR`, the strategies that can meet Takahashi's objective are `PP`, `PR`, `PS`. If Snuke chooses the strategy `RS`, the strategies that can meet Takahashi's objective are `PP`, `PR`, `PS`, `RR`, `SR`. Therefore, the probabilities when Takahashi chooses `PP`, `PR`, `PS`, `RP`, `RR`, `RS`, `SP`, `SR`, `SS` are $1$, $1$, $1$, $0$, $\frac 13$, $0$, $0$, $\frac 13$, $0$, respectively. Print them multiplied by $3$.
3 5 4 RRP SSS RSR PPP RSS PPS SRP SSP RRS
4 7 7 6 9 10 4 7 8 4 8 7 4 8 8 3 7 7 3 7 6 4 8 8 1 5 5
{
"problem": {
"name": "Takahashi The Strongest",
"description": {
"content": "Takahashi, Aoki, and Snuke will play a game with $k$ rounds of rock-paper-scissors. Let us call a string of length $k$ consisting of `P`, `R`, `S` a **strategy**. The game proceeds as follows. * Ea",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 5000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "arc132_f"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Takahashi, Aoki, and Snuke will play a game with $k$ rounds of rock-paper-scissors.\nLet us call a string of length $k$ consisting of `P`, `R`, `S` a **strategy**. The game proceeds as follows.\n\n* Ea...",
"is_translate": false,
"language": "English"
}
]
}