อ่านทุกบรรทัดแล้วพิมพ์บรรทัดกลับลำดับ (บรรทัดสุดท้ายก่อน)
ไม่เกิน 1000 บรรทัด
a b c
c b a
import sys lines=sys.stdin.read().splitlines() print("\n".join(reversed(lines)))
กด Run เพื่อรันโค้ด หรือ ตรวจคำตอบ เพื่อตรวจ test cases