There are 27 identical balls. In that one of the balls is overweight. There are only three chances to weigh in the weighing machine. How to find the overweight ball?

There are 27 identical balls. In that one of the balls is overweight. There are only three chances to weigh in the weighing machine. How to find the overweight ball?

Code to add this calci to your website