import random


def SampleWithoutReplacement(t, n):
    """Generates a sample without replacement.
    
    Args:
        t: sequence of values
        
        n: size of the sample
        
    Returns:
        list of values
    """    
    return random.sample(t, n)