a machine with a few pieces of paper