What is taken into account when executing the penalty against a convict?  
The period served in custody, preventive detention, electronic probation, or in execution of the penalty abroad for the crime for which the convict has been convicted is taken into account.