Peragus Dormitory Lift Puzzle

You need to crack this code to exit the Dormitory level on Peragus. This code is fairly simple. A dot (.) is worth 1, an X is worth 5 and the dash (-) is worth 10. So, .. = 2, -X = 15, -- = 20, etc. The lift uses 5 codes, but two translations are missing:

CodeAnswer
...3
-X..17
-..13
X5
X..7

As shown in a log, you need to enter the code in reverse, so to activate the lift, enter:
7, 5, 13, 17, 3