Title: Input output analysis and resource allocation