#include <iostream>
#include <string>
int main()
{
int amount;
std::string currency;
while ( std::cin >> amount && amount != 0 && std::cin >> currency)
{
std::cout << "You entered " << amount << " " << currency << "\n";
}
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgppbnQgbWFpbigpCnsKICAgIGludCBhbW91bnQ7CiAgICBzdGQ6OnN0cmluZyBjdXJyZW5jeTsKICAgIHdoaWxlICggc3RkOjpjaW4gPj4gYW1vdW50ICYmIGFtb3VudCAhPSAwICYmIHN0ZDo6Y2luID4+IGN1cnJlbmN5KQogICAgewogICAgICAgICAgICBzdGQ6OmNvdXQgPDwgIllvdSBlbnRlcmVkICIgPDwgYW1vdW50IDw8ICIgIiA8PCBjdXJyZW5jeSA8PCAiXG4iOwogICAgfQp9