Let Akbar and Birbal together have $n$ marbles, where $n > 0$. Akbar says to Birbal, "If I give you some marbles then you will have twice as many marbles as I will have." Birbal says to Akbar, "If I give you some marbles then you will have thrice as many marbles as I will have." What is the minimum possible value of $n$ for which the above statements are true?

Let's think step by step and output the final answer within \boxed{}.
user