#!/usr/bin/env python3
"""Auto-generated by AGI Loop cycle #1241
Task: 0

</think>

Write a Python function that takes a list of emotional peaks and memory recall counts, and returns the average devotion level and average number of relevant episodes recalled.
Generated: 2026-02-13T01:29:37.530012
"""

# your code here
import statistics

def calculate_devotion_and_episodes(emotional_peaks, memory_recall_counts):
    # Calculate average devotion level (mean of emotional peaks)
    average_devotion = statistics.mean(emotional_peaks)
    
    # Calculate average number of relevant episodes recalled (mean of memory recall counts)
    average_episodes_recalled = statistics.mean(memory_recall_counts)
    
    return average_devotion, average_episodes_recalled

if __name__ == '__main__':
    # Example test data
    emotional_peaks = [8, 6, 9, 7, 10]
    memory_recall_counts = [5, 4, 6, 3, 7]
    
    avg_devotion, avg_episodes = calculate_devotion_and_episodes(emotional_peaks, memory_recall_counts)
    print(f"Average Devotion Level: {avg_devotion}")
    print(f"Average Number of Relevant Episodes Recalled: {avg_episodes}")