#include #include #include #include #include using namespace std; const int maxn = 155; int a[maxn]; int main() { int n,b,c,ans; ///freopen("in.txt","r",stdin); while(scanf("%d%d%d",&n,&b,&c)!=EOF){ ans = 0; for(int i = 0;i