1 switch (num) {
2 case 5:
3 case 2:
4 case 3:
5 System.out.println("5,2,3");
6 break;
7 case 4:
8 case 6:
9 System.out.println("4,6");
10 break;
11 case 1:
12 System.out.println("1");
13 break;
14 default:
15 System.out.println("Inavlid number");
16 break;
17 }