#include using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(nullptr); int A; cin >> A; double p0,p1,p2; cin >> p0 >> p1 >> p2; p0 /= 100,p1 /= 100,p2 /= 100; int n = 14,n2 = 1< dp(n2); vector>> trans(n2); for(int i=0; i>(p+1))&1; if(p) ok += (i>>(p-1))&1; if(k&(1< next(n2); for(int i=0; i