Option A can't be true because 6 cannot be popped after 5 when 5 is coming before 6.
Option B can't be true too because 6 can't be popped before 7 or 8.
Option C is possible:
Push 5
Push 6
Push 7 Pop 7
Push 8 Pop 8
Push 9 Pop 9
Pop 6
Pop 5
Option D can't be true because 5 is getting popped before 6.