Determine correct solution for z4