$ 0 0 Hi Petr, Can you please provide an example of the input data and the required output, so that we can understand it better Regards Rajeev