def getstreakpeaks(killstreaks):
    """
	Takes a list of tuples where: element 0 is a number and 1 is a time
	tick (which is ignored), then only returns the tuples that make up the
	peak of their sequence.
	For example: (1,2,3,4,5,6,1,2,1,2,3,4) -> (6,2,4) [Only element 0 of
	the tuples displayed].
	This function does not perform any sorting, input is expected to already
	be in a correct order.
	"""
    streakpeaks = []
    if killstreaks:
        localkillstreaks = killstreaks.copy()
        localkillstreaks.append((-1, -1))
        prv = -1, -1
        for i in localkillstreaks:
            if i[0] <= prv[0]:
                streakpeaks.append(prv)
            prv = i
    return streakpeaks
