#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int n,m,b,a,s,d,g;
cin>>n>>m>>b;
cin>>a>>s>>d>>;
cin>>g;
#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int n,m,b,a,s,d,g;
cin>>n>>m>>b;
cin>>a>>s>>d>>;
cin>>g;