#include <iostream>
#include <vector>
using namespace std;
int main() {
std::string progid;
std::string clsid;
vector<std::pair<std::string,std::string>> ids;
while(cin >> progid >> clsid ) {
auto id = std::make_pair(progid,clsid);
ids.push_back(id);
}
for(std::vector<std::pair<std::string,std::string>>::iterator it = ids.begin(); it != ids.end(); ++it) {
progid = it->first;
clsid = it->second;
std::cout << "progid:" << it->first << " clsid:" << it->second <<endl;
//std::cout << *(it.first) <<endl;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dmVjdG9yPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglzdGQ6OnN0cmluZyBwcm9naWQ7CglzdGQ6OnN0cmluZyBjbHNpZDsKCXZlY3RvcjxzdGQ6OnBhaXI8c3RkOjpzdHJpbmcsc3RkOjpzdHJpbmc+PiBpZHM7CgoJd2hpbGUoY2luID4+IHByb2dpZCA+PiBjbHNpZCApIHsKCQlhdXRvIGlkICA9IHN0ZDo6bWFrZV9wYWlyKHByb2dpZCxjbHNpZCk7CgkJaWRzLnB1c2hfYmFjayhpZCk7Cgl9Cglmb3Ioc3RkOjp2ZWN0b3I8c3RkOjpwYWlyPHN0ZDo6c3RyaW5nLHN0ZDo6c3RyaW5nPj46Oml0ZXJhdG9yIGl0ID0gaWRzLmJlZ2luKCk7IGl0ICE9IGlkcy5lbmQoKTsgKytpdCkgewoJCXByb2dpZCA9IGl0LT5maXJzdDsKCQljbHNpZCA9IGl0LT5zZWNvbmQ7CiAgICAgICAgICBzdGQ6OmNvdXQgPDwgInByb2dpZDoiIDw8IGl0LT5maXJzdCAgPDwgIiBjbHNpZDoiIDw8IGl0LT5zZWNvbmQgPDxlbmRsOwogICAgICAgIC8vc3RkOjpjb3V0IDw8ICooaXQuZmlyc3QpIDw8ZW5kbDsKICAgICB9CiAgICByZXR1cm4gMDsKCn0=