#include<iostream>
using namespace std;
int main()
{
int n,m,c,I[20],D[20],k,t=1;
while(cin>>n>>m>>c)
{
int sum=0,max=0;
bool blow=false;
if(n==0&&m==0&&c==0)
break;
for(int i=0;i<n;i++)
{
cin>>I[i];
D[i]=-1;
}
for(int i=0;i<m;i++)
{
cin>>k;
D[k-1]*=-1;
sum+=I[k-1]*D[k-1];
if(sum>c)
blow=true;
else if(sum>max)
max=sum;
}
cout<<"Sequence "<<t<<endl;
t++;
if(blow)
cout<<"Fuse was blown.\n";
else
{
cout<<"Fuse was not blown.\n";
cout<<"Maximal power consumption was "<<max<<" amperes.\n";
}
}
return 0;
}