Pentagons on the Lobachevsky plane