Alabama beats Texas A&M 49-42