#include <iostream>
using namespace std;


template <class k> bool compare (k &a , k &b){
	return a==b;
}
int main() {
	// your code goes here
	int a = 5; int b = 6 ; int c=5;
	cout<<compare(a,b)<<endl<<compare(a,c)<<endl;
	string A = "hello" ; string B = "hello" ; string C = "baby";
	cout<<compare(A,B)<<endl<<compare(B,C)<<endl;
	return 0;
}