Definition: 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'. 
Input: Les antigues instal·lacions de l' IES Gabriel i Ferrater , de Reus , que són propietat de la Diputació de Tarragona , seran , amb tota probabilitat , la futura seu de l' Escola Oficial d' Idiomes .
Output:
Les (O) antigues (O) instal·lacions (O) de (O) l' (O) IES (B-LOC) Gabriel (I-LOC) i (I-LOC) Ferrater (I-LOC) , (O) de (O) Reus (B-LOC) , (O) que (O) són (O) propietat (O) de (O) la (O) Diputació (B-ORG) de (I-ORG) Tarragona (I-ORG) , (O) seran (O) , (O) amb (O) tota (O) probabilitat (O) , (O) la (O) futura (O) seu (O) de (O) l' (O) Escola (B-ORG) Oficial (I-ORG) d' (I-ORG) Idiomes (I-ORG) . (O)