Got an interesting problem today in CSES.At first i was confused what to do then i got the logic in my mind. Here is the solution link you may check. Thank You Problem Link :https://cses.fi/problemset/task/1629/ solution link: https://github.com/skmahin661/Movie-Festiavlals-CSES.git