If you take a number, times by 7 then subtract 1. You get the same as if you took the number, times by 5 then subtract 8. What is the number?