#include <stdio.h>
main()
{
int a[] = {1,2,5,8,8,17,4,13,11,22,23}; //22+8+8=38。
int i, i1=0,i2=0,i3=0, n=sizeof(a)/sizeof(int);
for (i=1; i<n; i++)
{
if (a[i]%2==0 && a[i]>=a[i1])
{
i3 = i2;
i2 = i1;
i1 = i;
}
}
printf("%d+%d+%d=%d ", a[i1],a[i2],a[i3],a[i1]+a[i2]+a[i3]);
}