In softball, Marissa hits the ball 40% of the time when she is up to bat. Based on this information, how many times will Marissa hit the ball if she goes to bat 30 times?