Hello!
Please input a number to see the magic of the valentines day sequence!

(Just kidding. It's not magic!)

# Explanation

So what does this program do? Well, the valentines day sequence, or the Collatz conjecture, is the conjecture that : If *n* is even, divide by 2. If *n* is odd, multiply by 3 then add 1. You will always obtain 4 / 2 = 2 / 2 = 1 x 3 + 1 = 4, and it keeps going like that. This program takes whatever number you enter and does this sequence until you reach 1. Kinda cool, right? It is much faster than if you do it by hand (Especially with the big numbers), but it is fun to do by hand too.