A system has a virtual memory space of 8 virtual pages for a process with 8 blocks per page and 4 words per block. The main memory consists of 4 page frames with 4 blocks per page and 8 words per block. How many words are required for virtual memory?