@@ -0,0 +1,693 @@
+import java.io.*;%0Aimport java.util.*;%0Aimport java.text.*;%0Aimport java.math.*;%0Aimport java.util.regex.*;%0A%0Apublic class BonAppetit %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        /* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */%0A        %0A        Scanner s=new Scanner(System.in);%0A%09        int n=s.nextInt(),k=s.nextInt(),sum=0;%0A%09        for (int i=0;i%3Cn;i++) if (i!=k) sum+=s.nextInt(); else s.nextInt();%0A%09        int annasShare=sum/2;%0A%09        int annasShareInput=s.nextInt();%0A%09        if (annasShare==annasShareInput) System.out.println(%22Bon Appetit%22);%0A%09        else System.out.println(annasShareInput-annasShare);%0A    %7D%0A%7D%0A

Create BonAppetit.java