/** * Osaki (Problem B, Practice Contest for Japan Domestic, 2007-06-24) * by Kenji Inoue, 2007-06-25 **/ #include #include #include using namespace std; struct Time { string s, e; // start, end bool done; int operator<(const Time &a) const { return s < a.s; } }; int main() { int n; while (cin >> n, n) { vector