#include<iostream> using namespace std; int main() { int m,n,num=0; cin >> m >> n; while(m<=n){ if(m%17==0) num=m+num; m++; } cout << num; }