Solution for 30