Dedicated language for batch processing, enter number of workpieces