import java.util.*; /** * @author ${USER} * @date ${DATE} * @since 1.8 **/ public class Main { private static int[] weight = new int[7]; static&...