EPAM Systems Interview Question

Java EE stack, You have 27 coins. How to know which of them is heavier