king beli problem