Lets Make a Plan

Limits 1s, 512 MB

It’s not easy to hang out with your friends during weekends when you have a full-time job and bills to pay, not to mention you both live in the two opposite sides of the town and have different weekend breaks. Our friends Tom and John are going through the same hurdle, as they decide to make a plan. But wait, there is a problem! The companies that Tom and John work at, have weekends at different dates. Can you help them find if they are available in the same weekend?

This is a companion discussion topic for the original entry at https://toph.co/p/lets-make-a-plan

using namespace std ;
int main ()
return 0 ;