Jacob bought a book that cost $11.95 and magazines that cost $4.95 each. Isabella bought a book that cost $15.79 and magazines that cost $3.99 each. Jacob spent the same amount or less money than Isabella. Write and solve an inequality to find m, the number of magazines for which Jacob spent less than or the same amount as Isabella.