give integer array num positive integer return average value integer divisible 3note average n element sum n element divide n round near integer Example 1input num 136101215output 9explanation 6 12 number divisible 3 6 12 2 9example 2input num 124710output 0explanation there single number satisfie requirement return 0 Constraints1 numslength 10001 numsi 1000