#include <random>
#include <iostream>

const int N=6;
const int X=1000000;
int main(int, char**)
{
    int n1[N]={},n2[N]={};
    ::std::random_device rd;
    unsigned int s = rd();
    ::std::mt19937 g1(s),g2(s);
    for( int i=0; i < X; ++i )
    {
        n1[ g1()%N ]++;
        n2[ ::std::uniform_int_distribution<unsigned int>(0, N-1)(g2) ]++;
    }
    for( int i=0; i < N; ++i )
    {
        ::std::cout << n1[i] << ", " << n2[i] << ::std::endl;
    }
    return 0;
}