A well-composed soundtrack of a movie is in a very close relationship with the
message of the movie. In fact, they are so close, that careful examination of
the soundtrack may reveal important charasteristics about the movie.
Lately new trends appeared in music used for movies. Followers of the minimalistic genres use clean sine waves instead of inherently complex musical instruments. British researchers also found that using frequencies divisible by 100 between 500 Hz and 10000 Hz yield the best result in popcorn sales. Other researchers confirm that the number of tones in the soundtrack at any given moment is proportional to how fascinating the scene is. |
![]() source: http://indianapublicmedia.org/arts/bankruptcy-hits-big/ |
You want to estimate the maximum popcorn flow for a movie - which is (as the above research indicates) proportional to the maximum number of tones audible simultaneously.
Example inputPlease refer to 0.wav. | Example output2 5(but for example 2 4, 2 6, 2 10, 2 11, etc. are also accepted). |