sample output for lec 3