South Korea, Ukraine agree to resolve North Korean prisoner issue