Problem

Source: Kosovo Mathematical Olympiad 2022, Grade 9, Problem 1

Tags: combinatorics



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 do these operations many times she wants. Find the least number of coins Ana can have.