import "dart:io";
import 'dart:math' as Math;
void main() {
  List a=stdin.readLineSync().split(" ").toList();
  int x=int.parse(a[0]);
  int y=int.parse(a[1].replaceAll(".", ""));
  String z=(x*y).toString();
  print(z.substring(0, q.length-2));
}