Go: package main

import (
	"fmt"
	"strconv"
)

func main() {
	for _, leftValue := range MultiplicationTableNum(9) {
		for _, rightValue := range MultiplicationTableNum(9) {
			strLeftVal, strRightVal, strMulti := strconv.Itoa(leftValue), strconv.Itoa(rightValue), strconv.Itoa(Multiplication(leftValue, rightValue))
			fmt.Println(strLeftVal + "x" + strRightVal + "=" + strMulti)
		}
	}
}

func MultiplicationTableNum(num int) []int {
	multiNum := []int{}
	for i := 1; i <= num; i++ {
		multiNum = append(multiNum, i)
	}
	return multiNum
}

func Multiplication(x, y int) int {
	return x * y
}

C++: #include<cstdio>
#include<vector>
#define MOD 39989
#define MAXN 39990
using namespace std;
typedef __int64 LL;
LL a[5][220];
vector<LL> G[MAXN];
int n;
inline LL ABS(LL x) {
	return x > 0 ? x : -x;
}
inline void Insert(LL x) {
	int t;
	t = ABS(x) % MOD;
	G[t].push_back(x);
	//	printf("%lld ", x);
}
bool Find(LL x) {
	int t, i;
	//	printf("%lld ", x);
	t = ABS(x) % MOD;
	for (i = 0; i < G[t].size(); i++) {
		if (G[t][i] == x)
			return true;
	}
	return false;
}
bool OK() {
	int i, j, k;
	for (i = 0; i < n; i++) {
		for (j = 0; j < n; j++) {
			for (k = 0; k < n; k++) {
				if (Find(a[0][i] + a[2][j] + a[4][k]))
					return true;
			}
		}
	}
	return false;
}
int main() {
	int c, i, j;
	scanf("%d", &c);
	while (c--) {
		for (i = 0; i < MAXN; i++)
			G[i].clear();
		scanf("%d", &n);
		for (i = 0; i < 5; i++) {
			for (j = 0; j < n; j++)
				scanf("%I64d", &a[i][j]);
		}
		for (i = 0; i < n; i++) {
			for (j = 0; j < n; j++)
				Insert(-a[1][i] - a[3][j]);
		}
		//		putchar('\n');
		if (OK())
			puts("YES");
		else
			puts("NO");
	}
	return 0;
}

C++: #include <iostream>
  
int main(){
    for(int i = 1; i < 10; ++i){
        for(int j = 1; j < 10; ++j){
            std::cout << i << "x" << j << "=" << i*j << std::endl;
        }
    }
    return 0;
}

C++: #include<stdio.h>

int main(void)
{
int i=1,j=1;
while(i<=9)
{
while(j<=9)
{
printf("%dx%d=%d\n",i,j);
j++;
}
i++;
}
    return 0;
}

C++: #include <iostream>
using namespace std;
int main(void){
    for(int i=1;i<=9;i++){
        for(int j=1;j<=9;j++){
            cout<<i<<"x"<<j<<"="<<i*j<<"\n";
        }
    }
}

C++: #include<iostream>
#include<cmath>
using namespace std;

#define eL endl
#define rtn return
#define pse system("pause")
#define I int
#define D double
#define S string
#define C char
#define B bool
#define F float
#define L long
#define LL long long
#define repu(m,n,i) for(I i=m;i<n;i++)
#define repd(m,n,i) for(I i=m;i>n;i--)

int main()
{
	repu(1,10,i){
		repu(1,10,j){
			cout<<i<<'x'<<j<<'='<<i*j<<eL;
		}
	}
	pse;
	rtn 0;
}

C++: #include<iostream>
#include <string>
using namespace std;

int main(){
	string str;
	for(int i = 1; i < 10; ++i)
	{
		for(int j = 1; j < 10; ++j)
		{
			cout << i << 'x' << j << "=" << i * j << endl;
		}
	}
    return 0;
}

C++: #include<stdio.h>
int main(void){

  int i;
  for(i=1;i<10;i++){
    printf("%d*1=%d\n",i,i*1);
    printf("%d*2=%d\n",i,i*2);
    printf("%d*3=%d\n",i,i*3);
    printf("%d*4=%d\n",i,i*4);
    printf("%d*5=%d\n",i,i*5);
    printf("%d*6=%d\n",i,i*6);
    printf("%d*7=%d\n",i,i*7);
    printf("%d*8=%d\n",i,i*8);
    printf("%d*9=%d\n",i,i*9);

  }


  return 0;
}

C++: #include <iostream>

int main() {
	for (int i = 1; i <= 9; ++i)
		for (int j = 1; j <= 9; ++j)
			std::cout << i << "x" << j << "=" << (i * j) << std::endl;
	return 0;
}

C++: #include<iostream>
using namespace std;
 
int main(){
	for(int i=1; i<=9; ++i) {
		for(int j=1; j<=9; ++j){
			cout << i << " x " << j << " = " << i*j << endl;
		}
	}
    return 0;
}

C++: #include<iostream>
using namespace std;

int main(){

	for(int i=1;i<=9;i++){
		for(int j=1;j<=9;j++){
			cout<<i<<"x"<<j<<"="<<i*j<<endl;
		}
	}

    return 0;
}

C++: #include<iostream>
using namespace std;

int main(){

    for (int i = 1; i <= 9; i++) {
        for (int j = 1; j <= 9; j++) {
            int cal = i * j;
            cout << i << "x" << j << "=" << cal << endl;
        }
    }

    return 0;
}

C++: #include<stdio.h>
int main(int argc, const char * argv[]) {
    int i,j;

    for (i=1; i<=9; i++) {
        for (j=1; j<=9; j++) {
            printf("%dx%d=%d\n", i, j, i*j);
        }
    }

    return 0;
}

C++: #include<stdio.h>

int main(){

for(int i=1;i<10;i++){
for(int j=1;i<10;j++){
    printf("%dx%d=%d",i,j,i*j);
}
}
return 0;
}

C++: #include <iostream>
using namespace std;

int main() {
	for(int a=1;a<=9;a++){
		for(int b=1;b<=9;b++){
			cout << a << 'x' << b << '=' << a*b <<endl;
		}
	}
	return 0;
}

C++: #include<stdio.h>

int main(){
	int i;
	for(i=1; i<10; i++)
	{
		printf("%dx%d=%d",i,i,i*i);
	}
    return 0;
}

C++: #include<iostream>
int main(){for(int i=1;i<=9;i++)for(int j=1;j<=9;j++)std::cout<<i<<"x"<<j<<"="<<i*j<<"\n";}

C++: #include<cstdio>
#include<iostream>

using namespace std;

int main()
{
	for(int i=1;i<10;i++)
	{
		for(int j=1;j<10;j++)
		{
			printf("%dx%d=%d\n",i,j,i*j);
		}
	}
	return 0;
}

C++: #include <iostream>
using namespace std;

int main(){
    for(int i = 1; i <= 9; i++)
        for(int j = 1; j <= 9; j++)
            cout << i << 'x' << j << '=' << i * j << endl;
    return 0;
}

C++: #include<stdio.h>
int main()
{
	int i,j;
    for(i=1;i<10;i++)
	{for(j=1;j<=9;j++)
	printf("%d*%d=%d\n",i,j,i*j);
	}
	return 0;
}

C++: #include<stdio.h>
#include<iostream>
using namespace std;

int main(){
    for(int i = 0; i < 10; i++){
        for(int j = 0; j<10;j++){
             printf("%dx%d=%d\n",i,j,i*j);
        }
    }

    return 0;
}

C++: fa

C++: #include <cstdio>
#include <cstdlib>
#include <cstdint>
#include <cstring>
#include <cctype>
#include <iostream>
#include <sstream>
#include <vector>
#include <list>
#include <deque>
#include <map>
#include <set>
#include <stack>
#include <queue>
#include <unordered_map>
#include <unordered_set>
#include <algorithm>
#include <functional>
using namespace std;
typedef pair<int, int> pii;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef long long ll;
const double PI = 3.141592653589793238462643383279502884L;
const int LARGE_INT = 1000000007;
#define all(c) (c).begin(), (c).end()
#define rall(c) (c).rbegin(), (c).rend()
#define tr(c, i) for(auto i = (c).begin(); i != (c).end(); i++)
#define rtr(c, i) for(auto i = (c).rbegin(); i != (c).rend(); i++)
#define repfn(i,a,cont,next) \
  for(auto i = (a); [=](){return(cont);}(); i = [=](){return(next);}())
#define repby(i,a,b,s) repfn(i,a,i<b,i+s)
#define repab(i,a,b) repby(i,a,b,1)
#define rep(i,b) repab(i,0,b)
#define pb push_back
#define sz(c) int((c).size())

int main(int argc, char **argv)
{
  repab(i, 1, 10) {
    repab(j, 1, 10) {
      printf("%dx%d=%d\n", i, j, i*j);
    }
  }
  return 0;
}

C++: #include <bits/stdc++.h>
#include <memory>
using namespace std;

class C {
	int a[32][32];
};

class D {
public: 
	D() : a(28, std::vector<int>(28)){}
private:
	std::vector<std::vector<int>> a;
};

int main()
{
	C *p = new C[10000];
	// D *q = new D[10000];
}

C++: #include <cstdio>

int main(){
  for(int i=1;i<=9;i++)
    for(int j=1;j<=9;j++)
      printf("%dx%d=%d\n",i,j,i*j);

  return 0;
}

C++: #include<iostream>
using namespace std;
int main(){
  for(int i=1; i<10; i++)
    for(int j=1; j<10; j++)
      cout <<i<<"x"<<j<<"="<<i*j<<endl;
  return 0;
}

C++: #include <iostream>
using namespace std;

int main() {
    for ( int i = 1; i <= 9; ++ i ) {
        for ( int j = 1; j <= 9; ++ j ) {
            cout << i << "x" << j << "=" << i * j << endl;
        }
    }
	return 0;
}