The ratio of the of tables to chairs at a café was 1 : 4. After the café owner bought 16 more chairs, the ratio of the number of tables to chairs at the café became 3: 14. How many tables were there at the café at first?

t/(4t+16) = 3/14

14t = 12t+48
t = 24