Pie Insurance Interview Question

string manipulation and dictionary.