sorta cheap way of solving 17