Ukrainan custom calculation for 3 group