#include <iostream>
#include <string>
#include <fstream>
#include <vector>
using namespace std;
struct employee
{
string name;
double pay_rate;
};
int ID;
void load_data(vector<employee>& v)
{
string t;
getline(cin, t);
ID = stoi(string(t.begin() + t.rfind("#") + 1, t.end()));
employee e;
while(getline(cin >> ws, e.name, ':') >> ws >> e.pay_rate)
{
v.push_back(e);
}
}
int main() {
vector<employee> employees;
load_data(employees);
cout << "ID: " << ID << endl;
for(auto e : employees)
cout << e.name << ": " << e.pay_rate << endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgojaW5jbHVkZSA8ZnN0cmVhbT4KI2luY2x1ZGUgPHZlY3Rvcj4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCnN0cnVjdCBlbXBsb3llZQp7CglzdHJpbmcgbmFtZTsKCWRvdWJsZSBwYXlfcmF0ZTsKfTsKCmludCBJRDsKdm9pZCBsb2FkX2RhdGEodmVjdG9yPGVtcGxveWVlPiYgdikKewoJc3RyaW5nIHQ7CglnZXRsaW5lKGNpbiwgdCk7CglJRCA9IHN0b2koc3RyaW5nKHQuYmVnaW4oKSArIHQucmZpbmQoIiMiKSArIDEsIHQuZW5kKCkpKTsKCgllbXBsb3llZSBlOwoJd2hpbGUoZ2V0bGluZShjaW4gPj4gd3MsIGUubmFtZSwgJzonKSA+PiB3cyA+PiBlLnBheV9yYXRlKQoJewoJCXYucHVzaF9iYWNrKGUpOwoJfQp9CgppbnQgbWFpbigpIHsKCXZlY3RvcjxlbXBsb3llZT4gZW1wbG95ZWVzOwoJbG9hZF9kYXRhKGVtcGxveWVlcyk7CgkKCWNvdXQgPDwgIklEOiAiIDw8IElEIDw8IGVuZGw7Cglmb3IoYXV0byBlIDogZW1wbG95ZWVzKQoJCWNvdXQgPDwgZS5uYW1lIDw8ICI6ICIgPDwgZS5wYXlfcmF0ZSA8PCBlbmRsOwoJCn0=