Three friends are studying random walks. To delve deeper into the topic, they have decided to play a game.
Initially, the friends stand at integer points x_1,x_2,x_3 on the number line.
The game lasts for k seconds.
Each second, an integer j is chosen uniformly at random from the set 1,2,3. Then, friend j increases their coordinate by 1 with probability p percent, or decreases their coordinate by 1 with probability (100−p) percent.
Note that multiple friends can stand at the same point, both initially and during the game.
The stretch is defined as the length of the shortest segment on the number line containing all three friends.
Find the expected stretch after k seconds, modulo 998,244,353 (see the Output section for details).
The first line contains three integers x_1, x_2, and x_3 (−105≤x_i≤105).
The second line contains a single integer k (1≤k≤2⋅105).
The third line contains a single integer p (0≤p≤100).
Print the expected stretch after k seconds, modulo 998,244,353.
Formally, let M=998,244,353. It can be shown that the required expected stretch can be expressed as an irreducible fraction qp, where p and q are integers and q≡0(modM). Print the integer equal to p⋅q−1modM. In other words, print such an integer x that 0≤x<M and x⋅q≡p(modM).
In the first example test, regardless of which friend and direction are chosen, the stretch will be equal to 1.
In the second example test, the actual expected stretch is 34.
In the third example test, the actual expected stretch is 81271.