public void computeValues() throws IOException {
		BufferedReader br = new BufferedReader(new FileReader(file));
		String line;
		int val;
		int idx;
		int tmpVal;
		int prevVal;
		boolean negativeFlag;
		
		while ((line = br.readLine()) != null) {
			String[] params = line.split("\\s");
			negativeFlag = false;
			idx = 0;
			val = 0;
			prevVal = 0;
			if (params[0].equals("negative")) {
				negativeFlag = true;
				idx = 1;
			}
			
			while (idx < params.length) {
				tmpVal = vals.get(params[idx]);
				if (tmpVal == 1000 || tmpVal == 1000000) {
					val+=prevVal*tmpVal;
					prevVal = 0;
				} else if (tmpVal == 100) {
					prevVal=prevVal*tmpVal;
				} else {
					prevVal+=tmpVal;
				}
				idx++;
			}
			
			val+=prevVal;
			if (negativeFlag) {
				val=-val;
			}
			System.out.println(val);
		}
	}