You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
Given the following Catalan sentence, indicate the name entities (i.e., the real-world objects such as a person, location, organization, etc. that can be denoted with a proper name) such as 'New York Times'.  For each words of a named-entity, indicate their type 'LOC' or 'ORG' or 'PER', where 'LOC' indicates a location entity (such as 'New York City', 'ORG' indicates the token of an organization (such as 'Amazon'), 'PER' indicates the tokens of a person entity (such as 'Jeff Bezos'). Named entities with other types should be indicated with 'MISC'. To indicate boundaries of an entity, use IOB (Inside-Output-Begin) prefixes. The B- prefix before a tag indicates that the word is the beginning of a named entity. The I- prefix indicates that the word is inside a bigger chunk. For example, you can break 'New York' to 'New' and 'York.' and tag them as 'B-LOC' and 'I-LOC'. Any token that doesn't belong to a named entity must be tagged with 'O'. 

Una setantena de treballadors de Fomento de Construcciones y Contratas a Manresa , gairebé la totalitat de la plantilla , s' han manifestat aquest migdia pels carrers de la ciutat .
Solution: Una (O) setantena (O) de (O) treballadors (O) de (O) Fomento (B-ORG) de (I-ORG) Construcciones (I-ORG) y (I-ORG) Contratas (I-ORG) a (O) Manresa (B-LOC) , (O) gairebé (O) la (O) totalitat (O) de (O) la (O) plantilla (O) , (O) s' (O) han (O) manifestat (O) aquest (O) migdia (O) pels (O) carrers (O) de (O) la (O) ciutat (O) . (O)
Why? We split the sentence into single words or punctuation and then assigned correct tags to each token as per the definition. We assigned 30 correct tags to the given sentence.

New input: Un incendi que s' ha declarat aquesta tarda al costat de la via del tren al terme municipal de Vinaixa , ha provocat l' aturada de dos trens regionals en ambdues direccions .
Solution:
Un (O) incendi (O) que (O) s' (O) ha (O) declarat (O) aquesta (O) tarda (O) al (O) costat (O) de (O) la (O) via (O) del (O) tren (O) al (O) terme (O) municipal (O) de (O) Vinaixa (B-LOC) , (O) ha (O) provocat (O) l' (O) aturada (O) de (O) dos (O) trens (O) regionals (O) en (O) ambdues (O) direccions (O) . (O)