Advanced printing

The school is trying to create a schedule for students and they decide to divide the days of the week into odd and even days.
  • Even: Saturday, Monday, Wednesday, and Friday
  • Odd: Sunday, Tuesday, and Thursday
The school asks you to print the odd days first, separated by a %% sign, and even days afterward on the same line, separated by a $_$ sign. Odd and even days should be separated by a ... sign.
Sunday%%Tuesday%%Thursday...Saturday$_$Monday$_$Wednesday$_$Friday
Can you do this with only 2 print statements by making use of both sep and end?
 

Constraints

Time limit: 2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue