What is the value of result after the following Java statements execute?
int a, b, c, d, result;
a = 4;
b = 12;
c = 38;
d = 51;
result = d * c/4 (a/b - d/2);
a) 506
b) 508
c) 510
d) 512