{"raw_statement":[{"iden":"problem statement","content":"Takahashi has forgotten his PIN. The PIN is a four-digit string consisting of `0`, `1`, $\\ldots$, `9`, and may begin with a `0`.\nFor each digit `0` through `9`, Takahashi remembers the following fact, represented by a $10$\\-character string $S_0S_1 \\ldots S_9$:\n\n*   if $S_i$ is `o`: he is certain that the PIN contained the digit $i$;\n*   if $S_i$ is `x`: he is certain that the PIN did not contain the digit $i$;\n*   if $S_i$ is `?`: he is not sure whether the PIN contained the digit $i$.\n\nHow many strings are there that could be Takahashi's PIN?"},{"iden":"constraints","content":"*   $S$ is a $10$\\-character string consisting of `o`, `x`, and `?`."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$S$"},{"iden":"sample input 1","content":"ooo???xxxx"},{"iden":"sample output 1","content":"108\n\nSome of the possible PINs are `0123` and `0021`."},{"iden":"sample input 2","content":"o?oo?oxoxo"},{"iden":"sample output 2","content":"0\n\nThere may be no possible PINs, in which case the answer is $0$."},{"iden":"sample input 3","content":"xxxxx?xxxo"},{"iden":"sample output 3","content":"15"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}