@@ -0,0 +1,455 @@
+// https://codeforces.com/problemset/problem/746/A%0A%0Aimport java.util.Scanner;%0A%0Apublic class Solution %7B%0A%0A%09public static void main(String%5B%5D args) %7B%0A%09%09Scanner read = new Scanner(System.in);%0A%09%09%0A%09%09int a = read.nextInt();%0A%09%09int b = read.nextInt();%0A%09%09int c = read.nextInt();%0A%09%09%0A%09%09int maxSum = 0;%0A%09%09while (a %3E= 1  && b %3E= 2 && c %3E= 4) %7B%0A%09%09%09a--;%0A%09%09%09b -= 2;%0A%09%09%09c -= 4;%0A%09%09%09maxSum += 7;%0A%09%09%7D%0A%09%09%0A%09%09System.out.println(maxSum);%0A%09%0A%09%09// Close scanner%0A%09%09read.close();%0A%09%7D%0A%0A%7D%0A

Create Compote.java