Printing error

Every third page number in this book has been omitted. Can you work out what number will be on the last page?

Problem

A book has $89$ pages, but the page numbers are printed incorrectly.

Every third page number has been omitted, so that the pages are numbered $1,2,4,5,7,8,...$ and so on.

What is the number on the last printed page?

 

If you liked this problem, here is an NRICH task which challenges you to use similar mathematical ideas.