Math is not everyone's cup of tea but solving math puzzles and playing logic games can keep your brain…