John: "Hi Teacher, What is your favourite movie ?".
Chemistry Teacher: "Indium Cerium Platinum Iodine Oxygen Nitrogen".
Ten seconds later... John replied I got it.
You are provided with a grid (as shown in the picture). Can you fill the squares with numbers 1-8 in a manner that none of the two consecutive numbers are placed next to each other in any direction (vertically, horizontally or diagonally?)