you participate online chess tournament there chess round start 15 minute the round day start 0000 15 minute new round startsfor example second round start 0015 fourth round start 0045 seventh round start 0130you give string logintime logoutTime wherelogintime time login game andlogouttime time logout gameIf logouttime early logintime mean play logintime midnight midnight logouttimereturn number chess round play tournamentnote all give time follow 24hour clock that mean round day start 0000 round day start 2345 Example 1input logintime 0931 logoutTime 1014output 1explanation you play round 0945 1000you play round 0930 0945 log 0931 beganyou play round 1000 1015 log 1014 endedExample 2input logintime 2130 logouttime 0300output 22explanation you play 10 round 2130 0000 12 round 0000 030010 12 22 ConstraintsloginTime logoutTime format hhmm00 hh 2300 mm 59logintime logoutTime equal