{"raw_statement":[{"iden":"problem statement","content":"Aoki is in search of Takahashi, who is missing in a one-dimentional world. Initially, the coordinate of Aoki is $0$, and the coordinate of Takahashi is known to be $x$, but his coordinate afterwards cannot be known to Aoki.\nTime is divided into turns. In each turn, Aoki and Takahashi take the following actions simultaneously:\n\n*   Let the current coordinate of Aoki be $a$, then Aoki moves to a coordinate he selects from $a-1$, $a$ and $a+1$.\n    \n*   Let the current coordinate of Takahashi be $b$, then Takahashi moves to the coordinate $b-1$ with probability of $p$ percent, and moves to the coordinate $b+1$ with probability of $100-p$ percent.\n    \n\nWhen the coordinates of Aoki and Takahashi coincide, Aoki can find Takahashi. When they pass by each other, Aoki cannot find Takahashi.\nAoki wants to minimize the expected number of turns taken until he finds Takahashi. Find the minimum possible expected number of turns."},{"iden":"constraints","content":"*   $1$ ≦ $x$ ≦ $1,000,000,000$\n*   $1$ ≦ $p$ ≦ $100$\n*   $x$ and $p$ are integers."},{"iden":"partial scores","content":"*   In the test set worth $200$ points, $p=100$.\n*   In the test set worth $300$ points, $x$ ≦ $10$."},{"iden":"input","content":"The input is given from Standard Input in the following format:\n\n$x$\n$p$"},{"iden":"sample input 1","content":"3\n100"},{"iden":"sample output 1","content":"2.0000000\n\nTakahashi always moves by $-1$. Thus, by moving to the coordinate $1$ in the $1$\\-st turn and staying at that position in the $2$\\-nd turn, Aoki can find Takahashi in $2$ turns."},{"iden":"sample input 2","content":"6\n40"},{"iden":"sample output 2","content":"7.5000000"},{"iden":"sample input 3","content":"101\n80"},{"iden":"sample output 3","content":"63.7500000"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}