The task is this: you need to "return the pedigree" in 2 objects, i.e.
There are 2 objects obj1 and obj2 and their properties:
obj1["ΠΠ΅Π½ΡΠΈΠ½Π°ΠΌ"] = 'ΠΊΡΠΎΡΠΎΠ²ΠΊΠΈ,ΡΠΎΠΏΡ'; obj1["ΠΡΠΆΡΠΈΠ½Π°ΠΌ"] = 'ΡΠΎΡΡΡ,ΠΌΠ°ΠΉΠΊΠΈ'; obj2["ΠΊΡΠΎΡΠΎΠ²ΠΊΠΈ"] = 'adidas,puma'; obj2["ΡΠΎΠΏΡ"] = '...'; ... Now let's say you need to find puma and the function should return ΠΊΡΠΎΡΠΎΠ²ΠΊΠΈ -> ΠΠ΅Π½ΡΠΈΠ½Π°ΠΌ