#include <stdio.h>

int main(void) {
	int a = 695;
	// int b = a%2;
	// int ans = a-(5*b);
	printf("%d",a-(5*(a%2)));

}
