I'm trying to delete a line after N lines using awk and I can't seem to get it right. The file format is like this
YYYYYY XXXXXX XXXXXX YYYYYY XXXXXX XXXXXX
The real example would be
office3 3 1 office3 6 1 office3 6 3 office3 1 1
How can I delete the YY lines or the lines that say "office". I need to delete a line every two lines regardless of their content.