///////
//
// Student: Russell Lowke
//     T.F: Francis Crick
// Unit Three, pencil-and-paper - question 6 [worth 1pt],  7/7/2002
//
//  Rewrite the C++ fragment using while instead of do-while



    // ensure i & j are within boundries of while
	i = 0;
	j = 0;
	
	while ( (i < 10) && (j*j != 25) ) {
		cin  >> i >> j;
		cout << i * j << endl;
	}