Day 10 - Exercise 6 - Java magic