Go: package main

import "fmt"
import "strconv"

func main() {
  for i := 1; i <= 9; i++ {
    for j := 1; j <= 9; j++ {
      res := i * j
      fmt.Println(strconv.Itoa(i) + "x" + strconv.Itoa(j) + "=" + strconv.Itoa(res))
    }
  }
}

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() {
	int a = 0;
	int b = 0;
	int kake;

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

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);
}

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

int main(){
	int i,j;

	for(i=1;i<=9;i++){

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

	}



    return 0;
}

C++: #include <stdio.h>

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

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

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

C++: #include <bits/stdc++.h>
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;
    }
  }
}

C++: #include<iostream>
int main() {
	for (int a = 1; a <= 9; a++) {
		for (int b = 1; b <= 9; b++) {
			std::cout << a << "x" << b << "=" << a * b << std::endl;
		}
	}
}

C++: for i in range(1,10):
    for j in range(1,10):
        print "%d x %d = %d" % (i,j,(i*j))

C++: 
#include <iostream>
#include <cstdlib>
#include <cstdio>
#include <cmath>
#include <stack>
#include <cctype>
#include <complex>
#include <vector>
#include <algorithm>

using namespace std;


bool solve(){

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

int main(){
	cout.setf(ios::fixed);
	cout.precision(10);
	solve();

	return 0;
}

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

C++: #include<stdio.h>
 
int main(){
    int i,j;
    for(i=1;i<=9;i++){
        for(j=1;j<=9;j++){
            y = i * j;
            printf("%d",i);
            printf("x");
            printf("%d",j);
            printf("=");
            printf("%d",y);

        }
    }
    return 0;
}

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

C++: //
//  main.cpp
//  AizuOnlineJudge
//
//  Created by TomoyaYamaguchi on 2016/08/05.
//  Copyright ?? 2016??´ TomoyaYamaguchi. All rights reserved.
//

#include <iostream>

using namespace std;

int main(int argc, const char * argv[]) {
    // insert code here...
    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(void){
    int x,y,z;
    z=0;
    x=0;
    while(1){
        x=x+1;
        while(1){
            z=z+1;
            y=x*z;
            cout<<x<<"x"<<z<<"="<<y<<endl;
            if(z>=9){
                break;
            }
        }
        z=0;
        if(x>=9){
            break;
        }
    }
    
}

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>
#include<stdio.h>

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

C++: #include <iostream>

using namespace std;

int main() {

    for (int i = 0; i < 9; ++i) {
        for (int j = 0; j < 9; ++j) {
            int n1 = i + 1;
            int n2 = j + 1;
            cout << to_string(n1) + "x" + to_string(n2) + "=" + to_string(n1 * n2) << endl;

        }
    }

    return 0;
}

C++: #include <iostream>
#include <stdio.h>

int main(){

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

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 < 10; i++) {
        for(int j = 1; j < 10; j++){
            cout << i << "×" << j << "=" << i*j << endl;
            
        }
    }
}

C++: #include <iostream>

using namespace std;

int main() {
    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 <iostream>
#include <cstdio>

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<stdio.h>
int main(void)
{
	int a,b,c,x;
	x='x';
	for(a=1;a<=9;a++){
		for(b=1;b<=9;b++){
			c=a*b;
	printf("%dx%d=%d\n",a,b,c);
			}
		}
	return 0;
}

C++: #include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
#include <cmath>
#include <vector>

using namespace std;

const int MAXN = (int)1e3 + 10 ;


vector< pair<int,int> > e[MAXN] ;
int low[MAXN] , dfn[MAXN] , visit[MAXN] , step ;
vector<int> bg ;

int n , m ;

void tarjan(int u,int fa){
    bool flag = true ;
    visit[u] = 1 ;
    dfn[u] = low[u] = ++step ;
    for (int i = 0 ; i < e[u].size() ; i++){
        int v = e[u][i].first ;
        if (v == fa && flag){
            flag = false ;
            continue ;
        }
        if (!dfn[v]){
            tarjan(v,u) ;
            low[u] = min(low[u],low[v]);
            if (low[v] > dfn[u])
                bg.push_back(e[u][i].second) ;
        }else if (visit[v]==1)
            low[u] = min(low[u],dfn[v]) ;
    }
    visit[u]=2;
}

int main() {
	while (~scanf("%d%d",&n,&m)){
        if (n==0 && m==0) break ;
        for (int i = 0 ; i < n ; i++) e[i].clear() ;
        for (int i = 0 ; i < m ; i++){
            int u , v , w;
            scanf("%d%d%d",&u,&v,&w) ;
            u--; v--;
            e[u].push_back(make_pair(v,w)) ;
            e[v].push_back(make_pair(u,w)) ;
        }
        for (int i = 0 ; i < n ; i++) dfn[i] = visit[i] = 0 ; step = 0 ;
        bg.clear() ;
        int cnt = 0 ;
        for (int i = 0 ; i < n ; i++)
            if (!dfn[i]) { tarjan(i,-1) ; cnt++ ; }
        if (cnt>1){
            printf("0\n");
            continue ;
        }
        if (bg.size()==0)
            printf("-1\n");
        else {
            int mx = 0x3f3f3f3f ;
            for (int i = 0 ; i < bg.size() ; i++)
                if (bg[i] < mx) mx = bg[i] ;
            printf("%d\n",mx) ;
        }
	}
    return 0;
}

C++: f

C++: #include <iostream>

using namespace std;


int main(int argc, char **argv)
{
	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<cstdio>
int x=1,y=1;main(){if(y>=10)return 0;printf("%dx%d=%d\n",y,x,x*y);++x;(x==10)?x=1,++y:0;main();}

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

C++: #include <iostream>

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