@php
//define left and right exam-center arrays
$leftCenters = [1, 3, 5, 9, 10, 11, 12, 14, 15];
$rightCenters = [2, 4, 6, 7, 13, 16, 17, 18];
@endphp
@if(in_array($examcenter_id, $leftCenters))
@elseif(in_array($examcenter_id, $rightCenters))
@endif