solves 3