#include <stdio.h>
#include <stdlib.h>

int main() {
	system("ls >output.txt");
	puts("Type: cat output.txt");	// or system("cat output.txt");
	return 0;
}
