public class M416RecoilReductionMaximizer {

  public static void main(String[] args) {

    double reduceSpeed = 2.0m/s;
    double recoverySpeed = 1.5m/s; 

    double maxRecoilReduction = calculateMaxRecoilReduction(reduceSpeed, recoverySpeed);
    
    System.out.println("The vertical recoil reduction of the M416 is maximized to：" + maxRecoilReduction + "100°");
  }
  
  private static double calculateMaxRecoilReduction(double reduceSpeed, double recoverySpeed) {
    double maxRecoilReduction = 0.0;
    

    maxRecoilReduction = reduceSpeed + recoverySpeed;
    
    return maxRecoilReduction;
  }
}
