The Kitten and his best friend Puppy are learning NumPy. They have learned a lot about boolean operations and decided to solve this task on Hyperskill. Unfortunately, they have only managed to read the input. Help them finish the program!
You have three lines in the input:
The first line contains integers separated by spaces.
The second line contains some words.
The third line contains some words.
Your task is to create 3 arrays from these inputs. They are guaranteed to be of the same length. Then, for each number in the first array, check if it is negative or not:
If it is non-negative (equal to 0 or greater), print the corresponding element from the second array.
If it is negative, print the corresponding element from the third array.
You can use np.where() for checking.