#include <iostream>
#include <random>
#include <ctime>
int main ()
{
// no hardware access at ideone, using time as seed
// std::random_device rd;
// std::mt19937 eng(rd());
std::mt19937 eng(std::time(NULL));
std::uniform_int_distribution<> digits(10, 99), letter('A', 'Z');
std::cout << "Begin\n"
<< "-------\n";
for (int e = 0; e < 5; ++e)
std::cout << digits(eng) << static_cast<char>(letter(eng))
<< digits(eng) << static_cast<char>(letter(eng)) << '\n';
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8cmFuZG9tPgojaW5jbHVkZSA8Y3RpbWU+CmludCBtYWluICgpCnsKLy8gbm8gaGFyZHdhcmUgYWNjZXNzIGF0IGlkZW9uZSwgdXNpbmcgdGltZSBhcyBzZWVkCi8vICBzdGQ6OnJhbmRvbV9kZXZpY2UgcmQ7Ci8vICBzdGQ6Om10MTk5MzcgZW5nKHJkKCkpOwogICAgc3RkOjptdDE5OTM3IGVuZyhzdGQ6OnRpbWUoTlVMTCkpOwogICAgc3RkOjp1bmlmb3JtX2ludF9kaXN0cmlidXRpb248PiBkaWdpdHMoMTAsIDk5KSwgbGV0dGVyKCdBJywgJ1onKTsKCiAgICBzdGQ6OmNvdXQgPDwgIkJlZ2luXG4iCiAgICAgICAgICAgICAgPDwgIi0tLS0tLS1cbiI7CiAgICBmb3IgKGludCBlID0gMDsgZSA8IDU7ICsrZSkKICAgICAgICBzdGQ6OmNvdXQgPDwgZGlnaXRzKGVuZykgPDwgc3RhdGljX2Nhc3Q8Y2hhcj4obGV0dGVyKGVuZykpCiAgICAgICAgICAgICAgICAgIDw8IGRpZ2l0cyhlbmcpIDw8IHN0YXRpY19jYXN0PGNoYXI+KGxldHRlcihlbmcpKSA8PCAnXG4nOwp9Cg==