public static String getCommand() {
		Console console = System.console();
		System.out.println("Write \"vote\" to vote and \"get\" to get the list of votes");
		while(true) {
			String input = console.readLine().toLowerCase();
			if("vote".equals(input) || "get".equals(input)) {
				return input;
			} else {
				System.out.println("Invalid command");
			}
		}
	}