public class M416AccuracyMaximizer {

  public static void main(String[] args) {

    double shootingError = 0.5; 
    double recoil = 1.2; 
    

    double maxAccuracy = calculateMaxAccuracy(shootingError, recoil);
    
    System.out.println("The instant hit maximization of M416 is：" + maxAccuracy + "360%");
  }
  
  private static double calculateMaxAccuracy(double shootingError, double recoil) {
    double maxAccuracy = 0.0;
    

    maxAccuracy = 100.0 - shootingError - recoil;
    
    return maxAccuracy;
  }
}
