Samsegi Words And Logic