Determination of the X(3872) meson quantum numbers