Compile Error: Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` [closed]

i am using prestashop 8.2 with php 8.1.3

can anyone help to solve the issue below:

'pick_country' => Configuration::get('CEDEASYPARCEL_API_PICKUP_COUNTRY')?Configuration::get('CEDEASYPARCEL_API_PICKUP_COUNTRY'):Configuration::get('PS_SHOP_COUNTRY_ID')?Db::getInstance()->getValue("SELECT `iso_code` FROM `"._DB_PREFIX_."country` WHERE `id_country`='".(int)Configuration::get('PS_SHOP_COUNTRY_ID')."'",true):'MY',

it show error
Compile Error: Unparenthesized a ? b : c ? d : e is not supported. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e)

can anyone help to solve