Eight circles of radius $r$ located in a right triangle $ABC$ (angle $C$ is right) as shown in figure (each of the circles touches the respactive sides of the triangle and the other circles). Find the radius of the inscribed circle of triangle $ABC$.
Problem
Source: 2011 XIV All-Ukrainian Tournament of Young Mathematicians, Qualifying p2
Tags: right triangle, equal circles, geometry, Ukrainian TYM