import os
import subprocess

studentName = input("Enter cs username: ")
tarName = input("Enter name of tar: ")

subprocess.check_call(['tar', 'xvf', studentName+'/'+tarName, '-C', studentName])
subprocess.check_call(['make', 'clean', '-C', studentName+'/threads'])
subprocess.check_call(['make', '-C', studentName+'/threads'])


