Thank you for visiting our university and giving a very interesting lecture the last Friday.
# Thank you for visiting our university for a very interesting lecture on the last Friday.
# Thank you for visiting our university for a very interesting lecture on the last Friday.
# Thank you for visiting our university for a very interesting lecture on the last Friday.