https://www.acmicpc.net/problem/14924
#include<iostream> using namespace std; int main() { int s,t,d; cin>>s>>t>>d; int time=d/(s*2); cout<<time*t; }