You will be given a definition of a task first, then some input 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'. 

A més del funicular de la Santa Cova , Ferrocarrils de la Generalitat també gestiona el funicular de Sant Joan , que va ser totalment remodelat l' any 1997 i que també es va veure afectat pels aiguats , tot i que la reparació va ser més senzilla .
Output:
A (O) més (O) del (O) funicular (O) de (O) la (O) Santa (B-LOC) Cova (I-LOC) , (O) Ferrocarrils (B-ORG) de (I-ORG) la (I-ORG) Generalitat (I-ORG) també (O) gestiona (O) el (O) funicular (O) de (O) Sant (B-LOC) Joan (I-LOC) , (O) que (O) va (O) ser (O) totalment (O) remodelat (O) l' (O) any (O) 1997 (O) i (O) que (O) també (O) es (O) va (O) veure (O) afectat (O) pels (O) aiguats (O) , (O) tot (O) i (O) que (O) la (O) reparació (O) va (O) ser (O) més (O) senzilla (O) . (O)