Ana has \(22\) coins. She can take from her friends either \(6\) coins or \(18\) coins, or she can give \(12\) coins to her friends. She can perform these operations as many times as she wants. Find the least number of coins Ana can have.

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