<commit_before>/**
 * @author <NAME>
 *         Created on 6/17/15 at 6:56 PM.
 *         All content is under the MIT License unless otherwise specified.
 *         See LICENSE.txt for details.
 */

import java.util.Scanner;

public class ExpectedSalary {
    public static void main(String[] args) {
        Scanner userInput = new Scanner(System.in);
    }
}<commit_msg>Added input handler.<commit_after>/**
 * @author <NAME>
 *         Created on 6/17/15 at 6:56 PM.
 *         All content is under the MIT License unless otherwise specified.
 *         See LICENSE.txt for details.
 */

import java.util.Scanner;

public class ExpectedSalary {
    public static void main(String[] args) {
        Scanner userInput = new Scanner(System.in);

        final int baseBSc = 28000;
        final int expBSc = 6000;

        final int baseMSc = 35000;
        final int expMSc = 5000;

        final int basePhD = 45000;
        final int expPhD = 15000;

        String degrees[] = {"BSc", "MSc", "PhD"};

        /* Collect all the user input. */
        String userInputs = "";
        for(; userInput.hasNext();) {
            String input = userInput.next();
            if(input.equalsIgnoreCase("done"))
                break;
            userInputs += input;
        }

        Scanner scanner = new Scanner(userInputs);
        while (scanner.hasNextLine()) {
            String line = scanner.nextLine();
            System.out.println(line);
        }
        scanner.close();
    }
}
{'fraction_non_alphanumeric': 0.10843373493975904, 'fraction_numerical': 0.029451137884872823, 'mean_word_length': 1.99, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '497195', 'n_tokens_mistral': 468, 'n_tokens_neox': 426, 'n_words': 132}