fork download
  1. using static System.Console;
  2.  
  3. public class Program {
  4. public static void Main() {
  5. var A1 = ReadLine();
  6. var A2 = ReadLine();
  7. var A3 = ReadLine();
  8. var A4 = ReadLine();
  9. var A5 = ReadLine();
  10. var A6 = ReadLine();
  11. var A7 = ReadLine();
  12. var A8 = ReadLine();
  13. WriteLine($"Segunda: {A1}, {A8}, {A4}, {3},");
  14. WriteLine($"Terça: {A2}, {A7}, {A3}, {A6},");
  15. WriteLine();
  16. Write($"Segunda: {A1}, {A8}, {A4}, {3},");
  17. WriteLine();
  18. Write($"Terça: {A2}, {A7}, {A3}, {A6},");
  19. WriteLine();
  20. WriteLine();
  21. Write($"Segunda: {A1}, {A8}, {A4}, {3},\nTerça: {A2}, {A7}, {A3}, {A6}\n");
  22. WriteLine();
  23. Write($@"Segunda: {A1}, {A8}, {A4}, {3},
  24. Terça: {A2}, {A7}, {A3}, {A6}");
  25. }
  26. }
  27.  
  28. //https://pt.stackoverflow.com/q/184489/101
Success #stdin #stdout 0.02s 15860KB
stdin
1
2
3
4
5
6
7
8
stdout
Segunda: 1, 8, 4, 3,
Terça: 2, 7, 3, 6,

Segunda: 1, 8, 4, 3,
Terça: 2, 7, 3, 6,

Segunda: 1, 8, 4, 3,
Terça: 2, 7, 3, 6

Segunda: 1, 8, 4, 3,
Terça: 2, 7, 3, 6