Mark flew from Boston to Baltmore, then Baltimore to Orlando. The number of people on his first flight was five more than four times the number of people on his second flight. If there were 365 people altogether on the two flights, how many were on the flight from Baltimore to Orlando?