#include <iostream>
#include <ctime>
#include <cstdlib>
using namespace std;
// Produce a function
void printMatrix( int n)
{
// Generate the number 0 or 1
n = n % 2;
cout<< n;
}
// Display the matrix
int main()
{
srand(time(0));
int m = rand();
cout<< printMatrix( m );
return 0;
}