Emma and Marcos are two friends who love horror films. This year, and in the years after it, they want to watch as many films together as possible. Their taste is not the same, so every now and then one of them has to sit through a film she or he dislikes. A film that neither of them likes, they skip. To keep things fair they agreed on one rule: they never watch two films in a row that the same person dislikes. So if one of them dislikes the film they are watching now, that person likes the next film they watch. Two films are in a row when they are neighbours in the sequence of films actually watched, and their days do not have to be next to each other.
They open the TV guide and mark the films they like. There is one channel, it shows one film per day, and the guide is already fixed for the next 1000000 days.
Find the largest number of films they can watch under this rule.