def get_pred_ids(predictions):
    """Return a list of predicted malware ids from prediction values."""
    le_classes = ['Emotet', 'Mirai', 'Zeus']    
    malwares_dict = {'Emotet': 1, 'Mirai': 2, 'Zeus': 3}
    predicted_ids = []
    
    for idx in predictions:
        pred_name = le_classes[idx]
        pred_id = malwares_dict[pred_name]
        predicted_ids.append(pred_id)
        
    return predicted_ids