class CalculPrice {

    public static final double mergeDiscount(double productDiscount, double ticketDiscount) {
        return round(productDiscount + ticketDiscount - (productDiscount * ticketDiscount));
    }

}