Burada ki mantık ile yapabilirsin.

https://www.youtube.com/watch?v=HAHtvKJOgPY