Problem

Source: Czech-Polish-Slovak Junior Match 2015, Team p6 CPSJ

Tags: Sum, Product, combinatorics, cube



The vertices of the cube are assigned $1, 2, 3..., 8$ and then each edge we assign the product of the numbers assigned to its two extreme points. Determine the greatest possible the value of the sum of the numbers assigned to all twelve edges of the cube.