Ravens, 49ers tied at 3 after 1st quarter