Complete semaphones assignment